function copyNativeString
source · line 30public
@Unsafe
public fun copyNativeString(pointer: Ptr<Byte>): OsString
Copies a readable NUL-terminated native byte string into OsString. The unsafe caller must keep the full region valid.
parameter pointer
source · line 31public
pointer: Ptr<Byte>