(self, pkt, x)
| 1766 | return self.fld.addfield(pkt, s, val.value) |
| 1767 | |
| 1768 | def any2i(self, pkt, x): |
| 1769 | # User-friendly helper |
| 1770 | if x is not None and not isinstance(x, NDRPointer): |
| 1771 | return NDRPointer( |
| 1772 | referent_id=0x20000, |
| 1773 | value=self.fld.any2i(pkt, x), |
| 1774 | ) |
| 1775 | return x |
| 1776 | |
| 1777 | # Can't use i2repr = Field.i2repr and so on on PY2 :/ |
| 1778 | def i2repr(self, pkt, val): |
nothing calls this directly
no test coverage detected