/// <summary> /// Initializes this instance of EndianAwareBinaryWriter with the given output stream, /// assuming a default text encoding, and using the Endianness of the given DataConverter /// </summary> /// <param name="output">The stream to write output to</param> /// <param name="DataConverter">The DataConverter with the Endianness to use</param> public EndianAwareBinaryWriter(System.IO.Stream output, System.DataConverter DataConverter) : base(output) { this._DataConverter = DataConverter; }
/// <summary> /// Initializes this instance of EndianAwareBinaryReader with the given input stream, /// assuming a default text encoding, and using the Endianness of the given DataConverter /// </summary> /// <param name="output">The stream to read input From</param> /// <param name="DataConverter">The DataConverter with the Endianness to use</param> public EndianAwareBinaryReader(System.IO.Stream output, System.DataConverter DataConverter) : base(output) { this._DataConverter = DataConverter; }
/// <summary> /// Initializes this instance of EndianAwareBinaryWriter with the given output stream, /// the given text encoding, and the Endianness of the given DataConverter /// </summary> /// <param name="output">The stream to write output to</param> /// <param name="encoding">The encoding to write text with</param> /// <param name="DataConverter">The DataConverter with the Endianness to use</param> public EndianAwareBinaryWriter(System.IO.Stream output, System.Text.Encoding encoding, System.DataConverter DataConverter) : base(output,encoding) { this._DataConverter = DataConverter; this._ExplicitEncoding = this._AssumedEffectiveEncoding = encoding; }
} // Nothing to do /// <summary> /// Initializes this instance of EndianAwareBinaryReader with the given input stream, /// the given text encoding, and the Endianness of the given DataConverter /// </summary> /// <param name="output">The stream to read input From</param> /// <param name="encoding">The encoding to read text with</param> /// <param name="DataConverter">The DataConverter with the Endianness to use</param> public EndianAwareBinaryReader(System.IO.Stream output, System.Text.Encoding encoding, System.DataConverter DataConverter) : base(output, encoding) { this._DataConverter = DataConverter; this._ExplicitEncoding = this._AssumedEffectiveEncoding = encoding; }