#[no_mangle]
pub extern "C" fn diplomat_buffer_writeable_get_bytes(
this: &DiplomatWriteable,
) -> *mut u8
Expand description
Grabs a pointer to the underlying buffer of a writable.
§Safety
- The returned pointer is valid until the passed writable is destroyed.
this
must be a pointer to a validDiplomatWriteable
constructed bydiplomat_buffer_writeable_create()
.