Struct zydis::ffi::ZyanString
source · [−]#[repr(C)]pub struct ZyanString { /* private fields */ }
Expand description
The string type used in zydis.
Implementations
Create a new ZyanString
, using the given buffer
for storage.
Create a new ZyanString
from a given buffer and a capacity.
Appends the given string s
to this buffer.
Warning: The actual Rust &str
ings are encoded in UTF-8 and aren’t
converted to any other encoding. They’re simply copied, byte by
byte, to the buffer. Therefore, the buffer should be interpreted as
UTF-8 when later being printed.
Trait Implementations
Writes a string slice into this writer, returning whether the write succeeded. Read more