MCPcopy Index your code
hub / github.com/Synzack/ldapper / getACE

Function getACE

SecurityDescriptor/SecurityDescriptorFuncs.go:174–180  ·  view source on GitHub ↗
(rawACE string)

Source from the content-addressed store, hash-verified

172}
173
174func getACE(rawACE string) (ACE string) {
175 aceLengthBytes, _ := strconv.Atoi(hexToDecimalString(endianConvert(rawACE[4:8])))
176 aceLength := aceLengthBytes * 2
177 ACE = rawACE[:aceLength]
178
179 return
180}
181
182func getSID(ACE string) (SID string) {
183 SID = ACE[len(ACE)-56:]

Callers 1

ParseSDFunction · 0.85

Calls 2

hexToDecimalStringFunction · 0.85
endianConvertFunction · 0.85

Tested by

no test coverage detected