Crate cstr_argument

Source
Expand description

A trait for converting function arguments to null terminated strings.

Structs§

NulError
An error returned from CStrArgument::try_into_cstr to indicate that a null byte was found before the last byte in the string.

Traits§

CStrArgument
A trait for converting function arguments to null terminated strings. It can be used to convert string arguments that are passed on to C APIs using the minimal amount of allocations.