Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

rust•armanriazi•osstring•vs•path

•std::ffi::OSString—A platform-native string. It’s behavior is close to String but without a guarantee that it’s encoded as UTF-8 and that it won’t contain the zero byte (0x00).

•std::path::Path—A string-like type that is dedicated to handling filesystem paths.
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
1+5 =