Example #1
0
 public override ulong ReadUInt64()
 {
     return((BitConverter.IsLittleEndian) ? base.ReadUInt64() : Endianness.Reverse(base.ReadUInt64()));
 }
Example #2
0
 public override string ReadString()
 {
     return((BitConverter.IsLittleEndian) ? base.ReadString() : Endianness.Reverse(base.ReadString()));
 }
Example #3
0
 public override ushort ReadUInt16()
 {
     return((BitConverter.IsLittleEndian) ? base.ReadUInt16() : Endianness.Reverse(base.ReadUInt16()));
 }
Example #4
0
 public override float ReadSingle()
 {
     return((BitConverter.IsLittleEndian) ? base.ReadSingle() : Endianness.Reverse(base.ReadSingle()));
 }
Example #5
0
 public override int ReadInt32()
 {
     return((BitConverter.IsLittleEndian) ? base.ReadInt32() : Endianness.Reverse(base.ReadInt32()));
 }
Example #6
0
 public override double ReadDouble()
 {
     return((BitConverter.IsLittleEndian) ? base.ReadDouble() : Endianness.Reverse(base.ReadDouble()));
 }
Example #7
0
 public override char[] ReadChars(Int32 count)
 {
     return((BitConverter.IsLittleEndian) ? base.ReadChars(count) : Endianness.Reverse(base.ReadChars(count)));
 }
Example #8
0
 public override char ReadChar()
 {
     return((BitConverter.IsLittleEndian) ? base.ReadChar() : Endianness.Reverse(base.ReadChar()));
 }