writeBinary method

void writeBinary(
  1. Uint8List? value
)

Implementation

void writeBinary(Uint8List? value) {
  if (value == null) {
    writeNil();
    return;
  }

  // int length = (int)src.Length;
  writeBinHeader(value.length);
  _bytesBuilder.add(value);
}