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

Method to_string

windows/generated_def/winstructs.py:515–518  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

513
514
515 def to_string(self):
516 data4_format = "{0:02X}{1:02X}-" + "".join("{{{i}:02X}}".format(i=i + 2) for i in range(6))
517 data4_str = data4_format.format(*self.Data4)
518 return "{0:08X}-{1:04X}-{2:04X}-".format(self.Data1, self.Data2, self.Data3) + data4_str
519
520 __str__ = to_string
521

Callers 2

__repr__Method · 0.95
update_stridMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected