in src/local_gpu_verifier/src/verifier/utils/__init__.py [0:0]
def read_field_as_little_endian(binary_data):
""" Reads a multi-byte field in little endian form and return the read
field as a hexadecimal string.
Args:
binary_data (bytes): the data to be read in little endian format.
Returns:
[str]: the value of the field as hexadecimal string.
"""
assert type(binary_data) is bytes
x= str()
for i in range(len(binary_data)):
temp = binary_data[i : i + 1]
x = temp.hex() + x
return x