(self, # type: ignore
pkt, # type: Packet
s, # type: Union[Tuple[bytes, int, int], bytes]
val # type: int
)
| 2474 | return super(BitLenField, self).getfield(pkt, s) |
| 2475 | |
| 2476 | def addfield(self, # type: ignore |
| 2477 | pkt, # type: Packet |
| 2478 | s, # type: Union[Tuple[bytes, int, int], bytes] |
| 2479 | val # type: int |
| 2480 | ): |
| 2481 | # type: (...) -> Union[Tuple[bytes, int, int], bytes] |
| 2482 | self.size = self.length_from(pkt) |
| 2483 | return super(BitLenField, self).addfield(pkt, s, val) |
| 2484 | |
| 2485 | |
| 2486 | class BitFieldLenField(BitField): |
nothing calls this directly
no test coverage detected