Crate c_fixed_string [] [src]

The goal of this crate is to provide a safe wrapper around the notion of a C-style string with a predefined maximum length, known as the limit.

CFixedString and CFixedStr are the owning and non-owning variants respectively.

Structs

CFixedStr

This type represents a view of a fixed length buffer containing a C-style string. The string is terminated by the first null byte in the buffer, or by the length of the buffer if no null byte is present.

CFixedString

This type owns a fixed length buffer containing a C-style string. The string is terminated by the first null byte in the buffer, or by the length of the buffer if no null byte is present.

IntoStringError