Convert internal value to a nice representation
(self, pkt, x)
| 225 | return self.h2i(pkt, x) |
| 226 | |
| 227 | def i2repr(self, pkt, x): |
| 228 | # type: (Optional[Packet], I) -> str |
| 229 | """Convert internal value to a nice representation""" |
| 230 | return repr(self.i2h(pkt, x)) |
| 231 | |
| 232 | def addfield(self, pkt, s, val): |
| 233 | # type: (Packet, bytes, Optional[I]) -> bytes |