encodeTo method
Convert self to a slice and append it to the destination.
Implementation
@override
void encodeTo(List<int> value, Output output) {
CompactCodec.codec.encodeTo(value.length, output);
for (final val in value) {
I16Codec.codec.encodeTo(val, output);
}
}