/// <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; }
NativeMemoryDataReaderFactory(byte *data, uint length, string filename) { this.filename = filename; this.length = length; stream = DataStreamFactory.Create(data); }