Метод | Описание | |
---|---|---|
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.
|
public ByteBitReader ( Stream s ) : System | ||
s | Stream | The arguments. |
Результат | System |