\x00 \x16 7G
\x8d \xed 6G
\x1a \x16 7G
\x00 \x16 7G
5E 7G
These is BTCUSDT PRICE data.. so maybe presented like 44xxx.xxx 45xxx.xxx. How can this number make? I can't understand. What i only know is \x is hexnumber and others are maybe ASCII CODES.
The bytes you have are IEEE-754 encodings of the numbers 46870, 46829.55078125, 46870.1015625, 46870, and 46917.20703125.
To decode them, copy the bytes into a float
object in little-endian order, then interpret them as that float
object. Details of how to do this will depend on the programming language used, which the question does not state.
To decode them manually, write out the 32 bits of each four bytes, with the bits of the fourth byte first (in the high-value positions), then the bits of the third byte, then the second, then the first. From those 32 bits, take the first one as a sign bit s. Take the next eight as bits for an exponent code e. Take the last 23 as bits for a significand code f.
Decode the sign bit: Let S = (−1)s.
Decode the exponent bits: Interpret them as an unsigned eight-bit numeral, e. Then:
Decode the significand bits: Let F = F + f•2−23.
The number represented is S • F • 2E.