Scoop API

scoop:scoop.platform:0.1.0

copyNativeString

function copyNativeString

source · line 30
public
@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.