C# 클래스 Ar.Com.Hjg.Pngcs.BufferedStreamFeeder

파일 보기 프로젝트 열기: devedse/DeveMazeGenerator

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
refillBuffer ( ) : void

메소드 상세

BufferedStreamFeeder() 공개 메소드

public BufferedStreamFeeder ( Stream ist ) : System
ist Stream
리턴 System

BufferedStreamFeeder() 공개 메소드

public BufferedStreamFeeder ( Stream ist, int bufsize ) : System
ist Stream
bufsize int
리턴 System

close() 공개 메소드

public close ( ) : void
리턴 void

feed() 공개 메소드

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
리턴 int

feed() 공개 메소드

public feed ( IBytesConsumer consumer, int maxbytes ) : int
consumer IBytesConsumer
maxbytes int
리턴 int

feedFixed() 공개 메소드

public feedFixed ( IBytesConsumer consumer, int nbytes ) : bool
consumer IBytesConsumer
nbytes int
리턴 bool

getStream() 공개 메소드

Stream from which bytes are read
public getStream ( ) : Stream
리턴 Stream

hasMoreToFeed() 공개 메소드

public hasMoreToFeed ( ) : bool
리턴 bool

isEof() 공개 메소드

public isEof ( ) : bool
리턴 bool

refillBuffer() 보호된 메소드

protected refillBuffer ( ) : void
리턴 void

setCloseStream() 공개 메소드

public setCloseStream ( bool closeStream ) : void
closeStream bool
리턴 void

setFailIfNoFeed() 공개 메소드

public setFailIfNoFeed ( bool failIfNoFeed ) : void
failIfNoFeed bool
리턴 void

setInputStream() 공개 메소드

public setInputStream ( Stream ist ) : void
ist Stream
리턴 void