Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] New packet list: Optimize memory usage

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 12 Jul 2009 15:52:54 -0700

On Jul 12, 2009, at 3:46 PM, Guy Harris wrote:

In bzip2 format, the stream is a sequence of blocks, and, at least as
I understand it, each block can be decompressed independently, so
seeking to a particular offset in the decompressed version of a
bzip2'ed stream involves seeking to the beginning of the block
containing the data at that offset, decompressing the block, and then
moving to the right offset within the decompressed data.  The default,
and maximum, block size is 900K.

On the other hand

	http://bzip.org/1.0.5/bzip2-manual-1.0.5.html

says

Further ahead, it would be nice to be able to do random access into files. This will require some careful design of compressed file formats.

so perhaps I don't understand it correctly.