40 #include <boost/crc.hpp>
41 #include <boost/optional.hpp>
52 void start_crc (uint16_t poly);
53 void write_bit (
bool bit);
54 void write_from_byte (uint8_t
byte,
int bits = 8);
55 void write_from_word (uint32_t word,
int bits = 32);
58 std::vector<bool> get()
const {
63 std::vector<bool> _data;
64 boost::optional<boost::crc_basic<16>> _crc;
Namespace for everything in libdcp.