pomp_msg_get_buffer

Function pomp_msg_get_buffer 

Source
pub unsafe extern "C" fn pomp_msg_get_buffer(
    msg: *const pomp_msg,
) -> *mut pomp_buffer
Expand description

Get the internal buffer of the message. @param msg : message. @return internal buffer of the message or NULL in case of error.

@remarks this function is useful when only the serialization of the library is needed, not the transport part. This way one can write the data to another transport layer.