A FCS field that gets appended at the end of the *packet* (not layer).
| 754 | |
| 755 | |
| 756 | class FCSField(TrailerField): |
| 757 | """ |
| 758 | A FCS field that gets appended at the end of the *packet* (not layer). |
| 759 | """ |
| 760 | |
| 761 | def __init__(self, *args, **kwargs): |
| 762 | # type: (*Any, **Any) -> None |
| 763 | super(FCSField, self).__init__(Field(*args, **kwargs)) |
| 764 | |
| 765 | def i2repr(self, pkt, x): |
| 766 | # type: (Optional[Packet], int) -> str |
| 767 | return lhex(self.i2h(pkt, x)) |
| 768 | |
| 769 | |
| 770 | class DestField(Field[str, bytes]): |
no outgoing calls
no test coverage detected