/// <summary> /// Initializes a new instance of the DataOutputStream class and /// sets the Endian to use. /// </summary> /// <param name="endian">The endian to be used.</param> public DataOutputStream(Endian endian) { this.pduDataStream = new DataStream(); this.Endian = endian; }
/// <summary> /// Initializes a new instance of the <see cref="DataInputStream"/> class. /// </summary> /// <param name="endian">The endian.</param> public DataInputStream(Endian endian) { this.pduDataStream = new DataStream(); this.pduDataStream.StreamCounter = 0; this.Endian = endian; }
/// <summary> /// Initializes a new instance of the DataOutputStream class from an /// existing DataStream and sets Endian type to use. /// </summary> /// <param name="ds">The data stream.</param> /// <param name="endian">The endian to be used.</param> public DataOutputStream(DataStream ds, Endian endian) { this.pduDataStream = ds; this.Endian = endian; }
/// <summary> /// Initializes a new instance of the DataOutputStream class and /// sets the Endian to use. /// </summary> /// <param name="endian">The endian to be used.</param> public DataOutputStream(Endian endian) { DS = new DataStream(); Endian = endian; }
/// <summary> /// Initializes a new instance of the DataOutputStream class from an /// existing DataStream and sets Endian type to use. /// </summary> /// <param name="ds">The data stream.</param> /// <param name="endian">The endian to be used.</param> public DataOutputStream(DataStream ds, Endian endian) { DS = ds; Endian = endian; }