Skip to main content

pamoja_buffer_len

Function pamoja_buffer_len 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_buffer_len( buffer: *const PamojaBuffer, ) -> usize
Expand description

Returns the length in bytes of a buffer.

§Returns

The length, or 0 if buffer is null.

§Safety

buffer must be a live handle from a pamoja call that produced one, or null.