#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_cdr_writer_into_bytes(
writer: *mut PamojaCdrWriter,
) -> *mut PamojaBufferExpand description
Takes the encoded bytes, consuming the encoder.
§Arguments
writer- the encoder, which this call frees.
§Returns
A buffer the caller must release with
pamoja_buffer_free, or null if writer is
null.
§Safety
writer must be a live handle from pamoja_cdr_writer_new, or null. After
this call it must not be used again.