cst_encode_StreamSink_blue_event_Dco method
- @protected
- RustStreamSink<
BlueEvent> raw
Implementation
@protected
ffi.Pointer<wire_cst_list_prim_u_8_strict>
cst_encode_StreamSink_blue_event_Dco(RustStreamSink<BlueEvent> raw) {
// Codec=Cst (C-struct based), see doc to use other codecs
return cst_encode_String(raw.setupAndSerialize(
codec: DcoCodec(
decodeSuccessData: dco_decode_blue_event,
decodeErrorData: dco_decode_AnyhowException,
)));
}