private float ReadFloat(RandomAccessFileOrArray stream) { if (isBigEndian) { return(stream.ReadFloat()); } else { return(stream.ReadFloatLE()); } }