I use BinaryReader to read a file and i've problem i can't solve. (c#)
I need to read 4 bytes. When i look at these bytes with my hex viewer it's 00 00 00 13.
So i tried Int32 fLength = dbr.ReadInt32(); The result is 318767104 instead of 19 (what i expected and need). When i use byte[] fLength = dbr.ReadBytes(4); i can see that i've read the correct bytes [0] [0] [0] [19].
(i've the same problem with the folowing bytes)
How can i read these 4 bytes and get 19 as result.
Thanks in advance !
Robertico