Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataStream"/> class.
 /// </summary>
 /// <param name="dataPointer">The data pointer.</param>
 public DataStream(DataPointer dataPointer) : this(dataPointer.Pointer, dataPointer.Size, true, true)
 {
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataBuffer"/> class.
 /// </summary>
 /// <param name="dataPointer">The data pointer.</param>
 public DataBuffer(DataPointer dataPointer)
     : this(dataPointer.Pointer, dataPointer.Size)
 {
 }