Crate zstring

source ·
Expand description

A crate for “thin pointer” zero-termianted string data.

Unlike the CStr and CString types, these types are compatible with direct FFI usage.

Structs

  • An array holding textual data that’s zero termianted.
  • Decodes byte sequences as if they were utf-8.
  • Borrowed and non-null pointer to zero-terminated text data.
  • ZStringalloc
    Owning and non-null pointer to zero-terminated textual data.

Enums

Functions