示例#1
0
 /// <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;
 }
示例#2
0
 /// <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;
 }
示例#3
0
 // Equals operator for this class
 public bool Equals(Endian endian)
 {
     return (bool)( this.endianness == endian.endianness);
 }