(self, big, exp)
| 279 | return big |
| 280 | |
| 281 | def appendMAC(self, big, exp): |
| 282 | mac = bytes(6) |
| 283 | if exp != None: |
| 284 | _, mac = ExpressionConverter.ToMacAddress(exp) |
| 285 | if not mac: |
| 286 | print("Inavalid MAC Address") |
| 287 | return False |
| 288 | |
| 289 | for i in range(6): |
| 290 | big = big << 8 |
| 291 | big = big | mac[i] |
| 292 | |
| 293 | return big |
| 294 | |
| 295 | def appendByteArray(self, big, exp, size): |
| 296 | array = bytes(size >> 3) |