Represents a collection of bytes.
Inheritance: System.Collections.CollectionBase
 /// <summary>
 /// Initializes a new instance of the DynamicByteProvider class.
 /// </summary>
 /// <param name="bytes"></param>
 public DynamicByteProvider(ByteCollection bytes)
 {
     _bytes = bytes;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the DynamicByteProvider class.
 /// </summary>
 /// <param name="bytes"></param>
 public StreamDataProvider(CFStream modifiedStream)
 {
     _bytes = new ByteCollection(modifiedStream.GetData());
     _modifiedStream = modifiedStream;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the DynamicByteProvider class.
 /// </summary>
 /// <param name="bytes"></param>
 public DynamicByteProvider(ByteCollection bytes)
 {
     _bytes = bytes;
 }
 /// <summary>
 /// Initializes a new instance of the DynamicByteProvider class.
 /// </summary>
 /// <param name="bytes"></param>
 public StaticByteProvider(ByteCollection bytes)
 {
     _bytes = bytes;
 }