toBytes method

Uint8List toBytes()

Implementation

Uint8List toBytes() {
  return Uint8List.fromList(uint8ToBytes(this.header) + this.data);
}