write method
Implementation
@override
void write(cbor.Encoder encoder, ByteBuffer value) {
final valBuff = Uint8Buffer();
valBuff.addAll(value.asUint8List());
encoder.writeBytes(valBuff);
}
@override
void write(cbor.Encoder encoder, ByteBuffer value) {
final valBuff = Uint8Buffer();
valBuff.addAll(value.asUint8List());
encoder.writeBytes(valBuff);
}