Convert self to a slice and append it to the destination.
@override void encodeTo(int value, Output output) { output ..pushByte(value.toUnsigned(8)) ..pushByte((value >> 8).toUnsigned(8)); }