C# Класс OxyPlot.ByteBitReader

The byte bit reader.
Наследование: OxyPlot.BitReader, IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
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