Skip to main content

Module write

Module write 

Source

Structs§

DiplomatWrite
An object that can one can write UTF-8 strings to

Functions§

diplomat_buffer_write_create
Create an DiplomatWrite that can write to a dynamically allocated buffer managed by Rust.
diplomat_buffer_write_destroy
Destructor for Rust-memory backed writables.
diplomat_buffer_write_get_bytes
Grabs a pointer to the underlying buffer of a writable.
diplomat_buffer_write_len
Gets the length in bytes of the content written to the writable.
diplomat_simple_write
Create an DiplomatWrite that can write to a fixed-length stack allocated u8 buffer.