asByteData method

ByteData asByteData()

Returns a ByteData of this buffer with the respective offset and length.

Implementation

ByteData asByteData() => buffer.asByteData(offsetInBytes, lengthInBytes);