encodeTo method
Convert self to a slice and append it to the destination.
Implementation
@override
void encodeTo(Map<K, V> value, Output output) {
CompactCodec.codec.encodeTo(value.length, output);
value.forEach((key, value) {
keyCodec.encodeTo(key, output);
valueCodec.encodeTo(value, output);
});
}