- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for StringToUTF16 (0.1 sec)
-
src/syscall/syscall_windows.go
"sync" "unsafe" ) type Handle uintptr const InvalidHandle = ^Handle(0) // StringToUTF16 returns the UTF-16 encoding of the UTF-8 string s, // with a terminating NUL added. If s contains a NUL byte this // function panics instead of returning an error. // // Deprecated: Use [UTF16FromString] instead. func StringToUTF16(s string) []uint16 { a, err := UTF16FromString(s) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:46 UTC 2024 - 52.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go
WAIT_IO_COMPLETION = 0x000000C0 ) // StringToUTF16 is deprecated. Use UTF16FromString instead. // If s contains a NUL byte this function panics instead of // returning an error. func StringToUTF16(s string) []uint16 { a, err := UTF16FromString(s) if err != nil { panic("windows: string with NUL passed to StringToUTF16") } return a }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 22:18:42 UTC 2024 - 82.8K bytes - Viewed (0)