L
Lew Barnesson
Hi,
I have a byte array read from a file using Stream IO, and containing a
mixture of 16-bit integers, strings, etc..
The problem: what is the best way to convert two byte sequences into 16-bit
integers in a way similar to what I used to do with C or C++ formatted IO?
Is there really no direct way to accomplish this without my having to write
my own formatted IO routines? Any help appreciated.
Thanks.
- Lew
I have a byte array read from a file using Stream IO, and containing a
mixture of 16-bit integers, strings, etc..
The problem: what is the best way to convert two byte sequences into 16-bit
integers in a way similar to what I used to do with C or C++ formatted IO?
Is there really no direct way to accomplish this without my having to write
my own formatted IO routines? Any help appreciated.
Thanks.
- Lew