reading a ninary file [message #46869] |
Mon, 09 January 2006 01:21 |
claire.maraldi
Messages: 4 Registered: January 2006
|
Junior Member |
|
|
Hello,
I have to read a binary file containing long, fix and string variable
type. I know that the string variable type are coded only on one byte
(this have been confirmed by someone in the laboratory, and even if I
try more bytes there is an "encountoured before end of file" error...).
So I have tried to convert only one byte, and the results are amazing
characters like "_-", "_"....
I know that is not a problem of discrepency when the binary file is
read because long and fix variable type are well converted (wether they
are placed before or after string).
Could explain me what exactly happen please ?
Thank you
|
|
|