lengthInBytes property

int get lengthInBytes

Returns a number of bytes of ByteBuffer backing this memory object.

Implementation

int get lengthInBytes => getProperty(buffer, 'byteLength') as int;