encodeTo method
Convert self to a slice and append it to the destination.
Implementation
@override
void encodeTo(int value, Output output) {
assertion(value >= 0 && value <= 0xFFFFFFFF);
output
..pushByte(value.toUnsigned(8))
..pushByte((value >> 8).toUnsigned(8))
..pushByte((value >> 16).toUnsigned(8))
..pushByte((value >> 24).toUnsigned(8));
}