[Mono-list] endian dependancy
Wed, 5 Dec 2001 01:38:34 +0200
Only if endianess of data in your stream is the same as endianess of the
BitConverter (and underlying platform).
If your data stream is little-endian it's more convenient to use
BinaryReader for this purpose (whose reads are always little-endian).
> i wonder if i read file with Stream function (byte array reading)
> and convert this value to various value (intXX, float,..) using
> BitConverter i will allways get the same value whatever would be
> underlying system endianess ?