object Companion
source · line 203public
public companion
Creates independent native-byte values from text or existing native bytes.
function fromString
source · line 207public
public fun fromString(value: String): Path
Encodes a Unicode path as UTF-8 and rejects embedded NUL.
parameter value
source · line 207public
value: String
function fromOsString
source · line 211public
public fun fromOsString(value: OsString): Path
Copies a native path after rejecting embedded NUL bytes.
parameter value
source · line 211public
value: OsString