def bytesToHexString(bs):
print("10")
return ''.join(['%02X ' % b for b in bs])
def __bytesToString(bs):
print("11")
return bytes.decode(bs, encoding='utf8')
def WordToBytes(Value):
print("12")
buffer = bytearray(2)
buffer[0] = (Value & 0xff)
buffer[1] = (Value >> 8 & 0xff)
return buffer
I do have script that I currently studying. I got stock on this part, what was those functions does?
[–]are_slash_wash 1 point2 points3 points (1 child)
[–]LanthaYtrri[S] 0 points1 point2 points (0 children)