writeRawBytes method
Add a Uint8List splice, without copying. These bytes will be directly copied into the output buffer by writeTo.
Implementation
void writeRawBytes(Uint8List value) {
final length = value.lengthInBytes;
if (length == 0) return;
_commitSplice();
_splices.add(value);
_bytesTotal += length;
}