writeByteData method

void writeByteData(
  1. ByteData buffer
)

Writes a buffer of bytes

  • buffer: The buffer of bytes

Implementation

void writeByteData(ByteData buffer) {
  writeBinary(
      buffer.buffer.asUint8List(buffer.offsetInBytes, buffer.lengthInBytes));
}