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

Method get_data_from_dword

pythonmemorymodule/pefile.py:6787–6789  ·  view source on GitHub ↗

Return a four byte string representing the double word value (little endian).

(self, dword)

Source from the content-addressed store, hash-verified

6785 ##
6786
6787 def get_data_from_dword(self, dword):
6788 """Return a four byte string representing the double word value (little endian)."""
6789 return struct.pack("<L", dword & 0xFFFFFFFF)
6790
6791 def get_dword_from_data(self, data, offset):
6792 """Convert four bytes of data to a double word (little endian)

Callers 2

set_dword_at_rvaMethod · 0.95
set_dword_at_offsetMethod · 0.95

Calls 1

packMethod · 0.45

Tested by

no test coverage detected