writeRawBytes method Null safety

void writeRawBytes(
  1. TypedData value
)

Add TypedData splice - these bytes would be directly copied into the output buffer by writeTo.

Implementation

void writeRawBytes(TypedData value) {
  _commitSplice();
  _splices.add(value);
  _bytesTotal += value.lengthInBytes;
}