Expand description
§Helpers to write CStrings
The std::ffi::CString type does not implement std::io::Write (since it cannot support
values containing zero bytes), so we implement our own wrappers.
One way is to use WriteIntoCString::write_into, which takes a closure, which then
takes a writer.
Another is to create a CStringWriter explicitly.
Structs§
- CString
Writer - A helper that enables writing into CStrings
Traits§
- Write
IntoC String - Extension trait to enable
WriteonCString