public override int ReadInt32() { if (_bigEndian) { byte[] buf = this.ReadBytes(4); Array.Reverse(buf); return BitConverter.ToInt32(buf, 0); } else return base.ReadInt32(); }