encode method
Convert self to an owned vector.
Implementation
Uint8List encode(E value) {
final bytes = ByteOutput();
encodeTo(value, bytes);
return bytes.toBytes();
}
Convert self to an owned vector.
Uint8List encode(E value) {
final bytes = ByteOutput();
encodeTo(value, bytes);
return bytes.toBytes();
}