Expand description
CStr
and its related types.
Structs§
- CStr
- Representation of a borrowed C string.
- From
Bytes Until NulError - An error indicating that no nul byte was present.
- Bytes
Experimental - An iterator over the bytes of a
CStr
, without the nul terminator.
Enums§
- From
Bytes With NulError - An error indicating that a nul byte was not in the expected position.
Functions§
- strlen 🔒 ⚠
Experimental - Calculate the length of a nul-terminated string. Defers to C’s
strlen
when possible.