| 1670 | |
| 1671 | |
| 1672 | class NDRInt3264Field(_NDRLenField): |
| 1673 | FMTS = ["I", "Q"] |
| 1674 | |
| 1675 | def getfield(self, pkt, s): |
| 1676 | fmt = _e(pkt.ndrendian) + self.FMTS[pkt.ndr64] |
| 1677 | return NDRAlign(Field("", 0, fmt=fmt), align=(4, 8)).getfield(pkt, s) |
| 1678 | |
| 1679 | def addfield(self, pkt, s, val): |
| 1680 | fmt = _e(pkt.ndrendian) + self.FMTS[pkt.ndr64] |
| 1681 | return NDRAlign(Field("", 0, fmt=fmt), align=(4, 8)).addfield( |
| 1682 | pkt, s, self.i2m(pkt, val) |
| 1683 | ) |
| 1684 | |
| 1685 | |
| 1686 | class NDRSignedInt3264Field(NDRInt3264Field): |