encodeTo method
Convert self to a slice and append it to the destination.
Implementation
@override
void encodeTo(
Health value,
Output output,
) {
U32Codec.codec.encodeTo(
value.peers,
output,
);
BoolCodec.codec.encodeTo(
value.isSyncing,
output,
);
BoolCodec.codec.encodeTo(
value.shouldHavePeers,
output,
);
}