Skip to main content

UNSAFE_GetString

Function UNSAFE_GetString 

Source
pub unsafe fn UNSAFE_GetString(data: &[u8]) -> cc_string
Expand description

ยงSafety

data must have at least STRING_SIZE bytes and outlive the returned cc_string, which borrows it as a non-owning buffer.