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

Method i2len

scapy/contrib/http2.py:1287–1289  ·  view source on GitHub ↗
(self, pkt, x)

Source from the content-addressed store, hash-verified

1285 return raw(x)
1286
1287 def i2len(self, pkt, x):
1288 # type: (Optional[packet.Packet], HPackStringsInterface) -> int
1289 return len(x)
1290
1291 def i2repr(self, pkt, x):
1292 # type: (Optional[packet.Packet], HPackStringsInterface) -> str

Callers 5

_compute_valueMethod · 0.45
get_data_lenMethod · 0.45
get_hdrs_lenMethod · 0.45
get_hdrs_lenMethod · 0.45
get_hdrs_lenMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected