(x)
| 328 | |
| 329 | @staticmethod |
| 330 | def truncate_long(x): |
| 331 | x &= 0xffff_ffff_ffff_ffff |
| 332 | return x if x <= 0x7fff_ffff_ffff_ffff else x - 0x1_0000_0000_0000_0000 |
| 333 | |
| 334 | def read_uint(self): |
| 335 | return ByteBuffer.truncate_int(self.read_ulong()) |
no outgoing calls