We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
string::raw::from_buf
c_char
c_char is i8, so trying to use string::raw::from_buf involves this:
i8
let cstring: *c_char = .....; let s = string::raw::from_buf(cstring as *const i8 as *const u8);
Either c_char should switch to u8, or string::raw::from_buf should take *const i8. Right now using this is quite tedious.
u8
*const i8