encodeTo method
Convert self to a slice and append it to the destination.
Implementation
@override
void encodeTo(
SyncState value,
Output output,
) {
numberCodec.encodeTo(
value.startingBlock,
output,
);
numberCodec.encodeTo(
value.currentBlock,
output,
);
numberCodec.encodeTo(
value.highestBlock,
output,
);
}