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

Method i2len

scapy/layers/dcerpc.py:1787–1790  ·  view source on GitHub ↗
(self, pkt, x)

Source from the content-addressed store, hash-verified

1785 return x
1786
1787 def i2len(self, pkt, x):
1788 if x is None:
1789 return 0
1790 return self.fld.i2len(pkt, x.value)
1791
1792 def valueof(self, pkt, x):
1793 if x is None:

Callers

nothing calls this directly

Calls 1

i2lenMethod · 0.45

Tested by

no test coverage detected