| 2973 | |
| 2974 | |
| 2975 | class LEFieldLenField(FieldLenField): |
| 2976 | def __init__( |
| 2977 | self, |
| 2978 | name, # type: str |
| 2979 | default, # type: Optional[Any] |
| 2980 | length_of=None, # type: Optional[str] |
| 2981 | fmt="<H", # type: str |
| 2982 | count_of=None, # type: Optional[str] |
| 2983 | adjust=lambda pkt, x: x, # type: Callable[[Packet, int], int] |
| 2984 | ): |
| 2985 | # type: (...) -> None |
| 2986 | FieldLenField.__init__( |
| 2987 | self, name, default, |
| 2988 | length_of=length_of, |
| 2989 | fmt=fmt, |
| 2990 | count_of=count_of, |
| 2991 | adjust=adjust |
| 2992 | ) |
| 2993 | |
| 2994 | |
| 2995 | class FlagValueIter(object): |
no outgoing calls
no test coverage detected
searching dependent graphs…