C# Class ManagedXZ.XZCompressStream

Inheritance: Stream
Afficher le fichier Open project: goldenbull/ManagedXZ Class Usage Examples

Méthodes publiques

Méthode Description
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

learn from 01_compress_easy.c

XZCompressStream ( Stream stream ) : System
XZCompressStream ( Stream stream, int threads ) : System
XZCompressStream ( Stream stream, int threads, int level ) : System

ctor

XZCompressStream ( string filename ) : System
XZCompressStream ( string filename, FileMode mode ) : System
XZCompressStream ( string filename, FileMode mode, int threads ) : System
XZCompressStream ( string filename, int threads ) : System
XZCompressStream ( string filename, int threads, int level, FileMode mode ) : System

create xz file stream.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
Init ( ) : void

Method Details

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

learn from 01_compress_easy.c
public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

XZCompressStream() public méthode

public XZCompressStream ( Stream stream ) : System
stream Stream
Résultat System

XZCompressStream() public méthode

public XZCompressStream ( Stream stream, int threads ) : System
stream Stream
threads int
Résultat System

XZCompressStream() public méthode

ctor
public XZCompressStream ( Stream stream, int threads, int level ) : System
stream Stream
threads int number of threads for parallel compress
level int 0-9, the bigger, the slower, and higher compression ratio
Résultat System

XZCompressStream() public méthode

public XZCompressStream ( string filename ) : System
filename string
Résultat System

XZCompressStream() public méthode

public XZCompressStream ( string filename, FileMode mode ) : System
filename string
mode FileMode
Résultat System

XZCompressStream() public méthode

public XZCompressStream ( string filename, FileMode mode, int threads ) : System
filename string
mode FileMode
threads int
Résultat System

XZCompressStream() public méthode

public XZCompressStream ( string filename, int threads ) : System
filename string
threads int
Résultat System

XZCompressStream() public méthode

create xz file stream.
public XZCompressStream ( string filename, int threads, int level, FileMode mode ) : System
filename string
threads int number of threads for parallel compress
level int 0-9, the bigger, the slower, and higher compression ratio
mode FileMode file mode to create FileStream
Résultat System