payloadView method
A view of the payload written so far. Valid only until the next write — a capacity grow replaces the backing buffer.
Implementation
Uint8List payloadView() => Uint8List.sublistView(_buffer, 0, _length);
A view of the payload written so far. Valid only until the next write — a capacity grow replaces the backing buffer.
Uint8List payloadView() => Uint8List.sublistView(_buffer, 0, _length);