ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
PackedBits.h

The bits of the compressors of this folder, packed in bytes, since their input and their output are streams of bytes. More...

Files

file  ADS/compression/PackedBits.h
 The bits of the compressors of this folder, packed in bytes, since their input and their output are streams of bytes: a PackedBitWriter appends bits, the first one in the most significant bit of the first byte, and a PackedBitReader reads them back in the same order.

Classes

class  ADS::PackedBitWriter
 a growing sequence of bits, packed in bytes, the first bit in the most significant bit of the first byte More...
class  ADS::PackedBitReader
 reads the bits of a sequence of bytes in the order of a PackedBitWriter, and zeros past its end More...

Detailed description

The bits of the compressors of this folder, packed in bytes, since their input and their output are streams of bytes.

The definitions, the invariants and the costs of the area are in Theory of compression.