View Single Post
Old 01-13-2018, 11:57 AM   #67
fundorin
Banned
 
Join Date: Feb 2014
Location: Moscow, Russia
Posts: 554
Default

I can easily convert separate numbers, like
header = 240;
instead of
header = "\xF0";
and replace %s with %c in sprintf.

But, how would one replace this string:
"\xF0\x00\x20\x29\x03\x03\x12\x00\x02\x00\x02"
with dec numbers line?
fundorin is offline   Reply With Quote