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

Method addfield

scapy/contrib/http2.py:1207–1209  ·  view source on GitHub ↗
(self, pkt, s, val)

Source from the content-addressed store, hash-verified

1205 self._type_from = type_from
1206
1207 def addfield(self, pkt, s, val):
1208 # type: (Optional[packet.Packet], str, HPackStringsInterface) -> str
1209 return s + self.i2m(pkt, val)
1210
1211 @staticmethod
1212 def _parse(t, s):

Callers 2

addfieldMethod · 0.45
addfieldMethod · 0.45

Calls 1

i2mMethod · 0.95

Tested by

no test coverage detected