toBytes method

Uint8List toBytes()

Implementation

Uint8List toBytes() {
  final writer = _Writer()
    ..int16(version)
    ..partitions(partitions)
    ..bytes(userData);
  return writer.result();
}