Octane v1.01.20 - The Open Compression Toolkit for C++ | http://octane.sourceforge.net/ |
#include <bitreaders.hpp>
Inheritance diagram for stream_bitreader:
Definition at line 45 of file bitreaders.hpp.
Public Member Functions | |
stream_bitreader (std::istream &_s, size_t size_in_bits=0) | |
Constructor with optional size specification. | |
bool | supports_seek () const |
Check if seek functions are supported. | |
Protected Member Functions | |
char | read_next_byte () |
Defines the method of reading a single byte of input. | |
Protected Attributes | |
std::istream & | s |
|
Constructor with optional size specification.
Definition at line 51 of file bitreaders.hpp.
00052 : bitreader(size_in_bits), s(_s) { ; } |
|
Check if seek functions are supported.
Implements bitreader. Definition at line 56 of file bitreaders.hpp.
00056 { return false; } |
|
Defines the method of reading a single byte of input. Derived classes must implement this function.
Implements bitreader. Definition at line 59 of file bitreaders.hpp.
00059 { char c; s.get(c); return c; } |