Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for UTF16PtrToString (0.13 sec)

  1. src/internal/syscall/windows/syscall_windows.go

    // proper long path handling without the need for fixups.
    //
    //go:linkname CanUseLongPaths
    var CanUseLongPaths bool
    
    // UTF16PtrToString is like UTF16ToString, but takes *uint16
    // as a parameter instead of []uint16.
    func UTF16PtrToString(p *uint16) string {
    	if p == nil {
    		return ""
    	}
    	end := unsafe.Pointer(p)
    	n := 0
    	for *(*uint16)(end) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top