|
EMAN2
|
#include <eerio.h>

Public Member Functions | |
| BitStream (T *buf) | |
| T | get_bits (int N) |
Private Attributes | |
| T * | buffer |
| T | cur |
| const size_t | max_num_bits = 8*sizeof(T) |
| size_t | bit_counter = max_num_bits |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const BitStream &obj) |
|
inline |
|
inline |
Definition at line 50 of file eerio.h.
References EMAN::BitStream< T >::bit_counter, EMAN::BitStream< T >::buffer, EMAN::BitStream< T >::cur, and EMAN::BitStream< T >::max_num_bits.
|
friend |
|
private |
Definition at line 74 of file eerio.h.
Referenced by EMAN::BitStream< T >::get_bits().
|
private |
Definition at line 71 of file eerio.h.
Referenced by EMAN::BitStream< T >::get_bits().
|
private |
Definition at line 72 of file eerio.h.
Referenced by EMAN::BitStream< T >::get_bits().
|
private |
Definition at line 73 of file eerio.h.
Referenced by EMAN::BitStream< T >::get_bits().