/** * \file bitpack.hh * \brief Header for bit-packing functions */ #ifndef LZW_SRC_BITPACK_H_ #define LZW_SRC_BITPACK_H_ #include #include /// \brief Packs std::uint16_t of n bits into unsigned char std::vector pack_n(const std::vector::const_iterator, const std::vector::const_iterator, int); /// \brief Specialization of \ref pack_n for 16bits std::vector pack_16(const std::vector::const_iterator, const std::vector::const_iterator); #endif /* LZW_SRC_BITPACK_H_ */