pub unsafe extern "C" fn ZL_TypedBuffer_createWrapSerial(
buffer: *mut c_void,
bufferCapacity: usize,
) -> *mut ZL_TypedBufferExpand description
@brief Creates a pre-allocated typed buffer for serial data.
The object will use the referenced buffer, and not allocate its own one. It will be filled during invocation of ZL_DCtx_decompressTBuffer(). Releasing the ZL_TypedBuffer object will not release the referenced buffer.
@param buffer buffer to write into @param bufferCapacity maximum size to write into buffer @return Pointer to wrapped typed buffer, or NULL on error