toBytes method
Get underlying buffer taking only value bytes (in case initial buffer size was bigger).
Implementation
Uint8List toBytes() {
return Uint8List.sublistView(_dataView, 0, _bytePosition);
}
Get underlying buffer taking only value bytes (in case initial buffer size was bigger).
Uint8List toBytes() {
return Uint8List.sublistView(_dataView, 0, _bytePosition);
}