C# Class WpSqlDumpParser.IO.CachingStream

Inheritance: Stream
Afficher le fichier Open project: svick/Wikipedia-SQl-dump-parser Class Usage Examples

Méthodes publiques

Méthode Description
CachingStream ( string wiki, string dump, System.DateTime date, string extension = ".sql.gz" ) : System
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
FinishedDownloading ( ) : bool
SetFinishedDownloading ( ) : void
download ( byte buffer, int offset, int count ) : int
initDownloading ( ) : void
initFileReading ( ) : bool
readFile ( byte buffer, int offset, int count ) : int

Method Details

CachingStream() public méthode

public CachingStream ( string wiki, string dump, System.DateTime date, string extension = ".sql.gz" ) : System
wiki string
dump string
date System.DateTime
extension string
Résultat System

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void