m data to determine
header/page size and data integrity.</p>

<p>The bitstream is captured (or recaptured) by looking for the beginning
of a page, specifically the capture pattern. Once the capture pattern
is found, the decoder verifies page sync and integrity by computing
and comparing the checksum. At that point, the decoder can extract the
packets themselves.</p>

<h3>Packet segmentation</h3>

<p>Packets are logically divided into multiple segments before encoding
into a page. Note that the segmentation 