C# 클래스 OxyPlot.ByteBitReader

The byte bit reader.
상속: OxyPlot.BitReader, IDisposable
파일 보기 프로젝트 열기: andreasjacobsen93/XamarinThirdpartySamples

공개 메소드들

메소드 설명
ByteBitReader ( Stream s ) : System

Initializes a new instance of the ByteBitReader class.

Close ( ) : void

Closes this stream and the underlying InputStream.

GetBitPosition ( ) : int

Gets the bit position.

Read ( ) : int

Reads a bit from the stream. Returns 0 or 1 if a bit is available, or -1 if the end of stream is reached. The end of stream always occurs on a byte boundary.

ReadByte ( ) : int

Discards the remainder of the current byte and reads the next byte from the stream.

ReadNoEof ( ) : int

Reads a bit from the stream. Returns 0 or 1 if a bit is available, or throws an EOFException if the end of stream is reached.

메소드 상세

ByteBitReader() 공개 메소드

Initializes a new instance of the ByteBitReader class.
Argument is null
public ByteBitReader ( Stream s ) : System
s Stream The arguments.
리턴 System

Close() 공개 메소드

Closes this stream and the underlying InputStream.
public Close ( ) : void
리턴 void

GetBitPosition() 공개 메소드

Gets the bit position.
public GetBitPosition ( ) : int
리턴 int

Read() 공개 메소드

Reads a bit from the stream. Returns 0 or 1 if a bit is available, or -1 if the end of stream is reached. The end of stream always occurs on a byte boundary.
public Read ( ) : int
리턴 int

ReadByte() 공개 메소드

Discards the remainder of the current byte and reads the next byte from the stream.
public ReadByte ( ) : int
리턴 int

ReadNoEof() 공개 메소드

Reads a bit from the stream. Returns 0 or 1 if a bit is available, or throws an EOFException if the end of stream is reached.
public ReadNoEof ( ) : int
리턴 int