def _decode(self, obj, context): if self.swapped: obj = swap_bytes(obj, bytesize = self.bytesize) return bin_to_int(obj, signed = self.signed)
def _decode(self, obj, context): if self.swapped: obj = swap_bytes(obj, bytesize=self.bytesize) return bin_to_int(obj, signed=self.signed)