size property

The size of the Blob object in bytes.

Syntax

JavaScript
size = object.size

Property values

Type: Integer

The size of the Blob, in bytes.

Remarks

The size property returns the total number of bytes of the Blob object or 0 if the Blob has no bytes to read.

Data accessed through the size property is returned synchronously.

See also

Blob

 

 

Show:
© 2014 Microsoft