Table of Contents

Class AbstractReader<TEntry, TVolume>

Namespace
SharpCompress.Reader
Assembly
SharpCompress.dll
public abstract class AbstractReader<TEntry, TVolume> : IReader, IDisposable where TEntry : Entry where TVolume : Volume

Type Parameters

TEntry
TVolume
Inheritance
AbstractReader<TEntry, TVolume>
Implements
Derived
Inherited Members
Extension Methods

Properties

ArchiveType

public ArchiveType ArchiveType { get; }

Property Value

ArchiveType

Cancelled

public bool Cancelled { get; }

Property Value

bool

Entry

public TEntry Entry { get; }

Property Value

TEntry

Volume

public abstract TVolume Volume { get; }

Property Value

TVolume

Methods

Cancel()

public void Cancel()

CreateEntryStream(Stream)

protected EntryStream CreateEntryStream(Stream decompressed)

Parameters

decompressed Stream

Returns

EntryStream

Dispose()

public void Dispose()

GetEntryStream()

protected virtual EntryStream GetEntryStream()

Returns

EntryStream

MoveToNextEntry()

public bool MoveToNextEntry()

Returns

bool

OpenEntryStream()

public EntryStream OpenEntryStream()

Returns

EntryStream

WriteEntryTo(Stream)

public void WriteEntryTo(Stream writableStream)

Parameters

writableStream Stream

Events

CompressedBytesRead

public event EventHandler<CompressedBytesReadEventArgs> CompressedBytesRead

Event Type

EventHandler<CompressedBytesReadEventArgs>

EntryExtractionBegin

public event EventHandler<ReaderExtractionEventArgs<IEntry>> EntryExtractionBegin

Event Type

EventHandler<ReaderExtractionEventArgs<IEntry>>

EntryExtractionEnd

public event EventHandler<ReaderExtractionEventArgs<IEntry>> EntryExtractionEnd

Event Type

EventHandler<ReaderExtractionEventArgs<IEntry>>

FilePartExtractionBegin

public event EventHandler<FilePartExtractionBeginEventArgs> FilePartExtractionBegin

Event Type

EventHandler<FilePartExtractionBeginEventArgs>