public override void Write(char[] chars, int index, int count) { if (BitConverter.IsLittleEndian) { base.Write(chars, index, count); } else { base.Write(Endianness.Reverse(chars, index, count)); } }
public override void Write(ulong value) { if (BitConverter.IsLittleEndian) { base.Write(value); } else { base.Write(Endianness.Reverse(value)); } }
public override void Write(char[] chars) { if (BitConverter.IsLittleEndian) { base.Write(chars); } else { base.Write(Endianness.Reverse(chars)); } }
public override ulong ReadUInt64() { return((BitConverter.IsLittleEndian) ? base.ReadUInt64() : Endianness.Reverse(base.ReadUInt64())); }
public override string ReadString() { return((BitConverter.IsLittleEndian) ? base.ReadString() : Endianness.Reverse(base.ReadString())); }
public override ushort ReadUInt16() { return((BitConverter.IsLittleEndian) ? base.ReadUInt16() : Endianness.Reverse(base.ReadUInt16())); }
public override float ReadSingle() { return((BitConverter.IsLittleEndian) ? base.ReadSingle() : Endianness.Reverse(base.ReadSingle())); }
public override int ReadInt32() { return((BitConverter.IsLittleEndian) ? base.ReadInt32() : Endianness.Reverse(base.ReadInt32())); }
public override double ReadDouble() { return((BitConverter.IsLittleEndian) ? base.ReadDouble() : Endianness.Reverse(base.ReadDouble())); }
public override char[] ReadChars(Int32 count) { return((BitConverter.IsLittleEndian) ? base.ReadChars(count) : Endianness.Reverse(base.ReadChars(count))); }
public override char ReadChar() { return((BitConverter.IsLittleEndian) ? base.ReadChar() : Endianness.Reverse(base.ReadChar())); }