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