(self, pkt, x)
| 1487 | return plain_str(self.i2h(pkt, x)) |
| 1488 | |
| 1489 | def h2i(self, pkt, x): |
| 1490 | # type: (Optional[Packet], Optional[str]) -> bytes |
| 1491 | return plain_str(x).encode('utf-16-le', errors="replace") |
| 1492 | |
| 1493 | def i2h(self, pkt, x): |
| 1494 | # type: (Optional[Packet], bytes) -> str |