diplomat_buffer_writeable_create

Function diplomat_buffer_writeable_create 

Source
#[unsafe(no_mangle)]
pub extern "C" fn diplomat_buffer_writeable_create( cap: usize, ) -> *mut DiplomatWriteable
Expand description

Create an DiplomatWriteable that can write to a dynamically allocated buffer managed by Rust.

Use diplomat_buffer_writeable_destroy() to free the writable and its underlying buffer.