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

Method valueof

scapy/layers/msrpce/mspac.py:633–637  ·  view source on GitHub ↗
(self, pkt, x)

Source from the content-addressed store, hash-verified

631 return bytes(val)
632
633 def valueof(self, pkt, x):
634 if pkt.usCompressionFormat == CLAIMS_COMPRESSION_FORMAT.COMPRESSION_FORMAT_NONE:
635 return self._subval(x)[0]
636 else:
637 return x
638
639
640class CLAIMS_SET_METADATA(NDRPacket):

Callers 6

showMethod · 0.45
ept_mapMethod · 0.45
_get_cls_activationMethod · 0.45
ResolveOxid2Method · 0.45
AcquireInterfaceMethod · 0.45

Calls 1

_subvalMethod · 0.80

Tested by

no test coverage detected