/// <summary> /// Public EndianBinaryWriter constructor /// </summary> /// <param name="str">Stream</param> /// <param name="endian">Endian object</param> public EndianBinaryWriter(Stream str, Endian endian) : base(str) { myEndian = endian; }
/// <summary> /// Public EndianBinaryWriter constructor /// </summary> /// <param name="str">Base Stream object</param> /// <param name="enc">Encoding object</param> /// <param name="endian">Endian object</param> public EndianBinaryWriter(Stream str, Encoding enc, Endian endian) : base(str, enc) { myEndian = endian; }
// Equals operator for this class public bool Equals(Endian endian) { return (bool)( this.endianness == endian.endianness); }