encodeTo method
Convert self to a slice and append it to the destination.
Implementation
@override
void encodeTo(int value, Output output) {
if (value < -128 || value > 0x7F) {
throw OutOfBoundsException();
}
output.pushByte(value.toUnsigned(8));
}