(self, # type: ignore
pkt, # type: Packet
s, # type: Union[Tuple[bytes, int], bytes]
)
| 2466 | super(BitLenField, self).__init__(name, default, 0) |
| 2467 | |
| 2468 | def getfield(self, # type: ignore |
| 2469 | pkt, # type: Packet |
| 2470 | s, # type: Union[Tuple[bytes, int], bytes] |
| 2471 | ): |
| 2472 | # type: (...) -> Union[Tuple[Tuple[bytes, int], int], Tuple[bytes, int]] # noqa: E501 |
| 2473 | self.size = self.length_from(pkt) |
| 2474 | return super(BitLenField, self).getfield(pkt, s) |
| 2475 | |
| 2476 | def addfield(self, # type: ignore |
| 2477 | pkt, # type: Packet |
nothing calls this directly
no test coverage detected