Displaying 1 result from an estimated 1 matches for "raw4".
Did you mean:
raw
2013 Apr 03
1
Question: how to convert raw to numeric
...quot; and
"float".I need to read some binary file in "integer" and "float" data.
I can do this job in this way: (as below)
first convert 4 byte raw to bits then pack bits back to "integer", but it
not work for "float",I worry about the performance.
raw4 = raw_buffer[1:4]
bits = rawToBits(raw4)
packBits(bits, type = "integer")
Best wishes
Really hope to get your response
[[alternative HTML version deleted]]