encode method
Implementation
Uint8List encode() {
final output = ByteOutput(codec.sizeHint(this));
codec.encodeTo(this, output);
return output.toBytes();
}
Uint8List encode() {
final output = ByteOutput(codec.sizeHint(this));
codec.encodeTo(this, output);
return output.toBytes();
}