P
pete
Hi everybody --
A friend asks me this question. He is reading mixed ASCII and binary
data into his Javascript code. He needs to parse the received record.
Some of the binary data are:
1. 16-bit integers
2. 32-bit integers
3. 8-bit integers
4. 32-bit IEEE floats.
So I think the question is: can I persuade Javascript to understand
and handle 8 arbitrary data bits in an untyped 8-bit byte?
If so, then how?
Thanks!
-- pete
A friend asks me this question. He is reading mixed ASCII and binary
data into his Javascript code. He needs to parse the received record.
Some of the binary data are:
1. 16-bit integers
2. 32-bit integers
3. 8-bit integers
4. 32-bit IEEE floats.
So I think the question is: can I persuade Javascript to understand
and handle 8 arbitrary data bits in an untyped 8-bit byte?
If so, then how?
Thanks!
-- pete