/// <summary>
 /// Initializes a new instance of the <see cref="T:SystemWrapper.IO.Compression.DeflateStreamWrap"/> class.
 /// </summary>
 /// <param name="stream">The stream to compress or decompress.</param>
 /// <param name="mode">One of the CompressionMode values that indicates the action to take.</param>
 public DeflateStreamWrap(IStreamWrap stream, CompressionMode mode)
 {
     Initialize(stream, mode);
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the BinaryReader class based on the supplied stream and a specific character encoding.
 /// </summary>
 /// <param name="stream">The supplied stream.</param>
 /// <param name="encoding">The character encoding.</param>
 public BinaryReaderWrap(IStreamWrap stream, Encoding encoding)
 {
     Initialize(stream.StreamInstance, encoding);
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the BinaryReader class based on the supplied stream and using UTF8Encoding.
 /// </summary>
 /// <param name="input">A <see cref="T:System.IO.Stream"/> object.</param>
 public BinaryReaderWrap(IStreamWrap input)
 {
     Initialize(input.StreamInstance);
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the BinaryWriterWrap class based on the supplied stream and using UTF-8 as the encoding for strings.
 /// </summary>
 /// <param name="output">The output stream.</param>
 public BinaryWriterWrap(IStreamWrap output)
 {
     Initialize(output.StreamInstance);
 }
Esempio n. 5
0
 /// <summary>
 /// Initializes a new instance of the BinaryWriterWrap class based on the supplied stream and a specific character encoding.
 /// </summary>
 /// <param name="output">The supplied stream.</param>
 /// <param name="encoding">The character encoding.</param>
 public BinaryWriterWrap(IStreamWrap output, Encoding encoding)
 {
     Initialize(output.StreamInstance, encoding);
 }
Esempio n. 6
0
 /// <summary>
 /// Initializes a new instance of the BinaryWriterWrap class based on the supplied stream and a specific character encoding.
 /// </summary>
 /// <param name="output">The supplied stream.</param>
 /// <param name="encoding">The character encoding.</param>
 public BinaryWriterWrap(IStreamWrap output, Encoding encoding)
 {
     Initialize(output.StreamInstance, encoding);
 }
Esempio n. 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:System.IO.StreamReader"/> class for the specified stream.
 /// </summary>
 /// <param name="stream">The stream wrapper to write to.</param>
 public StreamReaderWrap(IStreamWrap stream)
 {
     Initialize(stream);
 }
 public IStreamWrap Synchronized(IStreamWrap stream)
 {
     throw new NotImplementedException();
 }
Esempio n. 9
0
 public DeflateStreamWrap(IStreamWrap stream, CompressionMode mode)
 {
     Initialize(stream, mode);
 }
Esempio n. 10
0
 /// <summary>
 /// Initializes a new instance of the BinaryReader class based on the supplied stream and using UTF8Encoding. 
 /// </summary>
 /// <param name="input">A <see cref="T:System.IO.Stream"/> object.</param>
 public BinaryReaderWrap(IStreamWrap input)
 {
     Initialize(input.StreamInstance);
 }
Esempio n. 11
0
 /// <summary>
 /// Initializes a new instance of the BinaryReader class based on the supplied stream and a specific character encoding.
 /// </summary>
 /// <param name="stream">The supplied stream.</param>
 /// <param name="encoding">The character encoding.</param>
 public BinaryReaderWrap(IStreamWrap stream, Encoding encoding)
 {
     Initialize(stream.StreamInstance, encoding);
 }
Esempio n. 12
0
 /// <summary>
 /// Initializes a new instance of the BinaryReader class based on the supplied stream and a specific character encoding.
 /// </summary>
 /// <param name="stream">The supplied stream.</param>
 /// <param name="encoding">The character encoding.</param>
 public void Initialize(IStreamWrap stream, Encoding encoding)
 {
     BinaryReaderInstance = new BinaryReader(stream.StreamInstance, encoding);
 }
Esempio n. 13
0
 /// <summary>
 /// Initializes a new instance of the BinaryReader class based on the supplied stream and using UTF8Encoding. 
 /// </summary>
 /// <param name="input">A <see cref="T:System.IO.Stream"/> object.</param>
 public void Initialize(IStreamWrap input)
 {
     BinaryReaderInstance = new BinaryReader(input.StreamInstance);
 }
Esempio n. 14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:SystemWrapper.IO.Compression.DeflateStreamWrap"/> class.
 /// </summary>
 /// <param name="stream">The stream to compress or decompress.</param>
 /// <param name="mode">One of the CompressionMode values that indicates the action to take.</param>
 public void Initialize(IStreamWrap stream, CompressionMode mode)
 {
     DeflateStreamInstance = new DeflateStream(stream.StreamInstance, mode);
 }
Esempio n. 15
0
 /// <summary>
 /// Initializes a new instance of the BinaryWriterWrap class based on the supplied stream and a specific character encoding.
 /// </summary>
 /// <param name="output">The supplied stream.</param>
 /// <param name="encoding">The character encoding.</param>
 public void Initialize(IStreamWrap output, Encoding encoding)
 {
     BinaryWriterInstance = new BinaryWriter(output.StreamInstance, encoding);
 }
Esempio n. 16
0
 public void Initialize(IStreamWrap stream, CompressionMode mode)
 {
     DeflateStreamInstance = new DeflateStream(stream.StreamInstance, mode);
 }
Esempio n. 17
0
 /// <summary>
 /// Initializes a new instance of the BinaryWriterWrap class based on the supplied stream and using UTF-8 as the encoding for strings.
 /// </summary>
 /// <param name="output">The output stream.</param>
 public BinaryWriterWrap(IStreamWrap output)
 {
     Initialize(output.StreamInstance);
 }
Esempio n. 18
0
 public IStreamWrap Synchronized(IStreamWrap stream)
 {
     return new MemoryStreamWrap(Stream.Synchronized(stream.StreamInstance));
 }
Esempio n. 19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:System.IO.StreamReader"/> class for the specified stream.
 /// </summary>
 /// <param name="stream">The stream wrapper to write to.</param>
 public void Initialize(IStreamWrap stream)
 {
     StreamReaderInstance = new StreamReader(stream.StreamInstance);
 }
Esempio n. 20
0
 public void WriteTo(IStreamWrap stream)
 {
     MemoryStreamInstance.WriteTo(stream.StreamInstance);
 }
Esempio n. 21
0
 /// <summary>
 /// Initializes a new instance of the BinaryWriterWrap class based on the supplied stream and a specific character encoding.
 /// </summary>
 /// <param name="output">The supplied stream.</param>
 /// <param name="encoding">The character encoding.</param>
 public void Initialize(IStreamWrap output, Encoding encoding)
 {
     BinaryWriterInstance = new BinaryWriter(output.StreamInstance, encoding);
 }
Esempio n. 22
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:System.IO.StreamReader"/> class for the specified stream.
 /// </summary>
 /// <param name="stream">The stream wrapper to write to.</param>
 public StreamReaderWrap(IStreamWrap stream)
 {
     Initialize(stream);
 }
Esempio n. 23
0
 /// <summary>
 /// Initializes a new instance of the BinaryWriterWrap class based on the supplied stream and using UTF-8 as the encoding for strings.
 /// </summary>
 /// <param name="output">The output stream.</param>
 public void Initialize(IStreamWrap output)
 {
     BinaryWriterInstance = new BinaryWriter(output.StreamInstance);
 }
Esempio n. 24
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:System.IO.StreamReader"/> class for the specified stream.
 /// </summary>
 /// <param name="stream">The stream wrapper to write to.</param>
 public void Initialize(IStreamWrap stream)
 {
     StreamReaderInstance = new StreamReader(stream.StreamInstance);
 }
Esempio n. 25
0
 public IStreamWrap Synchronized(IStreamWrap stream)
 {
     return(new FileStreamWrap(Stream.Synchronized(stream.StreamInstance)));
 }
 public IStreamWrap Synchronized(IStreamWrap stream)
 {
     throw new NotImplementedException();
 }
Esempio n. 27
0
 /// <summary>
 /// Initializes a new instance of the BinaryReader class based on the supplied stream and a specific character encoding.
 /// </summary>
 /// <param name="stream">The supplied stream.</param>
 /// <param name="encoding">The character encoding.</param>
 public void Initialize(IStreamWrap stream, Encoding encoding)
 {
     BinaryReaderInstance = new BinaryReader(stream.StreamInstance, encoding);
 }
Esempio n. 28
0
 /// <summary>
 /// Initializes a new instance of the BinaryWriterWrap class based on the supplied stream and using UTF-8 as the encoding for strings.
 /// </summary>
 /// <param name="output">The output stream.</param>
 public void Initialize(IStreamWrap output)
 {
     BinaryWriterInstance = new BinaryWriter(output.StreamInstance);
 }
Esempio n. 29
0
 /// <summary>
 /// Initializes a new instance of the BinaryReader class based on the supplied stream and using UTF8Encoding.
 /// </summary>
 /// <param name="input">A <see cref="T:System.IO.Stream"/> object.</param>
 public void Initialize(IStreamWrap input)
 {
     BinaryReaderInstance = new BinaryReader(input.StreamInstance);
 }
Esempio n. 30
0
 /// <inheritdoc />
 public void WriteTo(IStreamWrap stream)
 {
     MemoryStreamInstance.WriteTo(stream.StreamInstance);
 }