encodeTo method
Convert self to a slice and append it to the destination.
Implementation
@override
void encodeTo(TypeDefComposite value, Output output) {
SequenceCodec(Field.codec).encodeTo(value.fields, output);
print('After seq: ${(output as ByteOutput).toBytes()}');
}