Ejemplo 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)
 {
 }
Ejemplo 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)
 {
 }