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

Method __init__

pythonmemorymodule/pefile.py:1343–1351  ·  view source on GitHub ↗
(self, fmt, comp_fields)

Source from the content-addressed store, hash-verified

1341def set_bitfields_format(format):
1342 class Accumulator:
1343 def __init__(self, fmt, comp_fields):
1344 self._subfields = []
1345 # add a prefix to distinguish the artificially created compoud field
1346 # from regular fields
1347 self._name = "~"
1348 self._type = None
1349 self._bits_left = 0
1350 self._comp_fields = comp_fields
1351 self._format = fmt
1352
1353 def wrap_up(self):
1354 if self._type is None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected