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