Posts: 4,646
Threads: 1,493
Joined: Sep 2016
i get the same result and wonder where the "22" ended up. i take out the "22" and still get that same result.
Output:
>>> input_hex = '08 1 0 1 0 D4'
>>> data = bytearray.fromhex(input_hex.replace(' ', ''))
>>> print(data)
bytearray(b'\x08\x10\x10\xd4')
>>>
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,646
Threads: 1,493
Joined: Sep 2016
Mar-20-2023, 05:30 PM
(This post was last modified: Mar-20-2023, 05:30 PM by Skaperen.)
is responding to an old thread that is still opened a bad thing? i can understand not noticing a " in the result being a bad thing. i'll blame the font my xterm uses for that. the " was actually hard to see. but i was not looking at it for 4 years. i think threads should be auto-closed after 6 months of no activity. but, that's just an opinion, not worth the bytes that encode it.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.