MCPcopy Create free account
hub / github.com/qilingframework/qiling / __to_uint

Method __to_uint

tests/test_struct.py:74–75  ·  view source on GitHub ↗
(data: bytearray)

Source from the content-addressed store, hash-verified

72
73 @staticmethod
74 def __to_uint(data: bytearray) -> int:
75 return int.from_bytes(data, 'little', signed=False)
76
77 def test_load_from(self):
78 dummy = DummyStruct.load_from(self.mem, self.ptr)

Callers 4

test_ref_saveMethod · 0.80
test_volatile_refMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected