Skip to main content

blob.len()

Returns the size of the blob

Availability

Device + Agent

Returns

Integer — the number of bytes in the blob

Description

This method returns the current size of the blob in bytes. This may not be same value as the amount of memory that has been allocated to the blob — see resize() for more information.

Example Code