示例#1
0
 /// <summary>
 /// This method doesn't need to be called since this instance doesn't own the native memory
 /// </summary>
 public override void Dispose()
 {
     stream   = EmptyDataStream.Instance;
     length   = 0;
     filename = null;
 }
示例#2
0
 NativeMemoryDataReaderFactory(byte *data, uint length, string filename)
 {
     this.filename = filename;
     this.length   = length;
     stream        = DataStreamFactory.Create(data);
 }