C# Class Hjg.Pngcs.ProgressiveOutputStream

stream that outputs to memory and allows to flush fragments every 'size' bytes to some other destination
Inheritance: System.IO.MemoryStream
Afficher le fichier Open project: devedse/DeveMazeGenerator

Méthodes publiques

Méthode Description
Close ( ) : void
Flush ( ) : void
GetCountFlushed ( ) : long
ProgressiveOutputStream ( int size_0 ) : System
Write ( byte b ) : void
Write ( byte b, int off, int len ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
FlushBuffer ( byte b, int n ) : void

Private Methods

Méthode Description
CheckFlushBuffer ( bool forced ) : void

if it's time to flush data (or if forced==true) calls abstract method flushBuffer() and cleans those bytes from own buffer

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() protected méthode

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

Flush() public méthode

public Flush ( ) : void
Résultat void

FlushBuffer() protected abstract méthode

protected abstract FlushBuffer ( byte b, int n ) : void
b byte
n int
Résultat void

GetCountFlushed() public méthode

public GetCountFlushed ( ) : long
Résultat long

ProgressiveOutputStream() public méthode

public ProgressiveOutputStream ( int size_0 ) : System
size_0 int
Résultat System

Write() public méthode

public Write ( byte b ) : void
b byte
Résultat void

Write() public méthode

public Write ( byte b, int off, int len ) : void
b byte
off int
len int
Résultat void