data property

Uint8List get data

Returns a view of the currently stored data without copying.

Creates a Uint8List view that references only the used portion of the internal buffer, avoiding unnecessary memory allocation.

Implementation

Uint8List get data => Uint8List.view(_buffer.buffer, 0, _usedLength);