MCPcopy Create free account
hub / github.com/microsoft/go-winio / Pointer

Method Pointer

internal/stringbuffer/wstring.go:97–102  ·  view source on GitHub ↗

Pointer returns a pointer to the first uint16 in the buffer. If the [WString.Free] has already been called, the pointer will be nil.

()

Source from the content-addressed store, hash-verified

95// Pointer returns a pointer to the first uint16 in the buffer.
96// If the [WString.Free] has already been called, the pointer will be nil.
97func (b *WString) Pointer() *uint16 {
98 if b.empty() {
99 return nil
100 }
101 return &b.b[0]
102}
103
104// String returns the returns the UTF-8 encoding of the UTF-16 string in the buffer.
105//

Callers 15

GetFileSystemTypeFunction · 0.95
GetFinalPathNameByHandleFunction · 0.95
LookupSidByNameFunction · 0.80
LookupNameBySidFunction · 0.80
SddlToSecurityDescriptorFunction · 0.80
SecurityDescriptorToSddlFunction · 0.80
TestMessageReadModeFunction · 0.80
adjustTokenPrivilegesFunction · 0.80
convertSidToStringSidFunction · 0.80
convertStringSidToSidFunction · 0.80
_lookupAccountNameFunction · 0.80
lookupAccountSidFunction · 0.80

Calls 1

emptyMethod · 0.95

Tested by 2

TestMessageReadModeFunction · 0.64
Test_SetFileEaFunction · 0.64