30#ifndef __CLAW_BIT_ISTREAM_HPP__
31#define __CLAW_BIT_ISTREAM_HPP__
39 template <
typename Stream>
44 typedef Stream stream_type;
49 void read(
char* buf,
unsigned int n);
51 operator bool()
const;
55 stream_type& m_stream;
58 unsigned char m_pending;
61 unsigned char m_pending_length;
66#include <claw/bit_istream.tpp>
This class is made to help reading datas of custom bit length.
This is the main namespace.