MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / __add__

Method __add__

windows/native_exec/simple_x86.py:56–59  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

54 return repr(self.array)
55
56 def __add__(self, other):
57 if not isinstance(other, BitArray):
58 return NotImplemented
59 return BitArray(self.size + other.size, self.array + other.array)
60
61 def to_int(self):
62 return int("".join([str(i) for i in self.array]), 2)

Callers

nothing calls this directly

Calls 1

BitArrayClass · 0.70

Tested by

no test coverage detected