Struct interoptopus::patterns::string::AsciiPointer [−][src]
#[repr(transparent)]pub struct AsciiPointer<'a> { /* fields omitted */ }
Expand description
Represents a *const char
on FFI level pointing to an 0x0
terminated ASCII string.
Implementations
Create an AsciiPointer from a &[u8]
slice reference.
The parameter ascii_with_nul
must contain nul (0x0
), but it does not need to contain nul
at the end.