(self, offset=0)
| 138 | return ((ip >> 24) & 0xff) | ((ip & 0xff) << 24) | ((ip >> 8) & 0xff00) | ((ip & 0xff00) << 8) |
| 139 | |
| 140 | def getLong3(self, offset=0): |
| 141 | if offset: |
| 142 | self.ipdb.seek(offset) |
| 143 | str = self.ipdb.read(3) |
| 144 | (a, b) = struct.unpack('HB', str) |
| 145 | return (b << 16) + a |
| 146 | |
| 147 | |
| 148 |
no outgoing calls
no test coverage detected