MCPcopy Create free account
hub / github.com/secdev/scapy / _uid_to_bytes

Function _uid_to_bytes

scapy/layers/msrpce/msdcom.py:96–102  ·  view source on GitHub ↗
(x, ndrendian="little")

Source from the content-addressed store, hash-verified

94
95
96def _uid_to_bytes(x, ndrendian="little"):
97 if ndrendian == "little":
98 return x.bytes_le
99 elif ndrendian == "big":
100 return x.bytes
101 else:
102 raise ValueError("bad ndrendian")
103
104
105def _uid_from_bytes(x, ndrendian="little"):

Callers 3

AcquireInterfaceMethod · 0.85
RemReleaseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…