private double GetFloat64() { FloatLayout64 floatLayout = new FloatLayout64(); // reverse byte ordering floatLayout.B8 = (byte)f.ReadByte(); floatLayout.B7 = (byte)f.ReadByte(); floatLayout.B6 = (byte)f.ReadByte(); floatLayout.B5 = (byte)f.ReadByte(); floatLayout.B4 = (byte)f.ReadByte(); floatLayout.B3 = (byte)f.ReadByte(); floatLayout.B2 = (byte)f.ReadByte(); floatLayout.B1 = (byte)f.ReadByte(); return(floatLayout.FloatData64); }
private double GetFloat64() { FloatLayout64 floatLayout = new FloatLayout64(); // reverse byte ordering floatLayout.B8 = (byte)_f.ReadByte(); floatLayout.B7 = (byte)_f.ReadByte(); floatLayout.B6 = (byte)_f.ReadByte(); floatLayout.B5 = (byte)_f.ReadByte(); floatLayout.B4 = (byte)_f.ReadByte(); floatLayout.B3 = (byte)_f.ReadByte(); floatLayout.B2 = (byte)_f.ReadByte(); floatLayout.B1 = (byte)_f.ReadByte(); return floatLayout.FloatData64; }