writeByteData method
Writes a buffer of bytes
buffer
: The buffer of bytes
Implementation
void writeByteData(ByteData buffer) {
writeBinary(
buffer.buffer.asUint8List(buffer.offsetInBytes, buffer.lengthInBytes));
}
Writes a buffer of bytes
buffer
: The buffer of bytesvoid writeByteData(ByteData buffer) {
writeBinary(
buffer.buffer.asUint8List(buffer.offsetInBytes, buffer.lengthInBytes));
}