Skip to main content

swift_string

Function swift_string 

Source
pub unsafe fn swift_string(s: &str) -> [u8; 16]
Expand description

§Safety

Calls into the Swift runtime, so the Swift stdlib must be loaded. The returned sixteen bytes are a +1 String: for anything over fifteen UTF-8 bytes they hold a reference the caller must hand on or release.