Skip to main content

xmtp_single_message_content_bytes

Function xmtp_single_message_content_bytes 

Source
pub unsafe extern "C" fn xmtp_single_message_content_bytes(
    msg: *const XmtpFfiMessage,
    out_len: *mut i32,
) -> *const u8
Expand description

Get raw content bytes from a single message handle. The returned pointer is borrowed — valid only while the message handle is alive.