doSerialize static method

Uint8List doSerialize(
  1. Writable writable
)

Implementation

static Uint8List doSerialize(Writable writable) {
  var buffer = BytesBuffer(writable.serializeBufferLength);
  writable.writeTo(buffer);
  return buffer.asUint8List();
}