chunk property

Uint8List get chunk

Chunked the write operation and returns a wrapped {@link ByteBuffer} object. After calling this method, writer will be reset and write from the beginning.

@return wrapped byte buffer

Implementation

Uint8List get chunk => Uint8List.fromList(_bytes);