#[unsafe(no_mangle)]pub unsafe extern "C" fn diplomat_simple_writeable(
buf: *mut u8,
buf_size: usize,
) -> DiplomatWriteableExpand description
Create an DiplomatWriteable that can write to a fixed-length stack allocated u8 buffer.
Once done, this will append a null terminator to the written string.
ยงSafety
bufmust be a valid pointer to a region of memory that can hold atbuf_sizebytes