C# Class Ar.Com.Hjg.Pngcs.BufferedStreamFeeder

Afficher le fichier Open project: devedse/DeveMazeGenerator

Méthodes publiques

Méthode Description
BufferedStreamFeeder ( Stream ist ) : System
BufferedStreamFeeder ( Stream ist, int bufsize ) : System
close ( ) : void
feed ( IBytesConsumer consumer ) : int

Feeds bytes to the consumer Returns bytes actually consumed This should return 0 only if the stream is EOF or the consumer is done

feed ( IBytesConsumer consumer, int maxbytes ) : int
feedFixed ( IBytesConsumer consumer, int nbytes ) : bool
getStream ( ) : Stream

Stream from which bytes are read

hasMoreToFeed ( ) : bool
isEof ( ) : bool
setCloseStream ( bool closeStream ) : void
setFailIfNoFeed ( bool failIfNoFeed ) : void
setInputStream ( Stream ist ) : void

Méthodes protégées

Méthode Description
refillBuffer ( ) : void

Method Details

BufferedStreamFeeder() public méthode

public BufferedStreamFeeder ( Stream ist ) : System
ist Stream
Résultat System

BufferedStreamFeeder() public méthode

public BufferedStreamFeeder ( Stream ist, int bufsize ) : System
ist Stream
bufsize int
Résultat System

close() public méthode

public close ( ) : void
Résultat void

feed() public méthode

Feeds bytes to the consumer Returns bytes actually consumed This should return 0 only if the stream is EOF or the consumer is done
public feed ( IBytesConsumer consumer ) : int
consumer IBytesConsumer
Résultat int

feed() public méthode

public feed ( IBytesConsumer consumer, int maxbytes ) : int
consumer IBytesConsumer
maxbytes int
Résultat int

feedFixed() public méthode

public feedFixed ( IBytesConsumer consumer, int nbytes ) : bool
consumer IBytesConsumer
nbytes int
Résultat bool

getStream() public méthode

Stream from which bytes are read
public getStream ( ) : Stream
Résultat Stream

hasMoreToFeed() public méthode

public hasMoreToFeed ( ) : bool
Résultat bool

isEof() public méthode

public isEof ( ) : bool
Résultat bool

refillBuffer() protected méthode

protected refillBuffer ( ) : void
Résultat void

setCloseStream() public méthode

public setCloseStream ( bool closeStream ) : void
closeStream bool
Résultat void

setFailIfNoFeed() public méthode

public setFailIfNoFeed ( bool failIfNoFeed ) : void
failIfNoFeed bool
Résultat void

setInputStream() public méthode

public setInputStream ( Stream ist ) : void
ist Stream
Résultat void