#[no_mangle]
pub extern "C" fn pactffi_async_message_get_contents_bin(
    message: *const AsynchronousMessage,
) -> *const c_uchar
Expand description

Get the contents of an AsynchronousMessage as a pointer to an array of bytes.

§Safety

The number of bytes in the buffer will be returned by pactffi_async_message_get_contents_length. It is safe to use the pointer while the message is not deleted or changed. Using the pointer after the message is mutated or deleted may lead to undefined behaviour.

§Error Handling

If the message is NULL, returns NULL. If the body of the message is missing, then this function also returns NULL.