# bzip2 and libbzip2

## a program and library for data compression

## copyright (C) 1996-1998 Julian Seward

## version 0.9.0c of 18 October 1998

- Introduction
- How to use `bzip2`
- Programming with `libbzip2`
  - Top-level structure
    - Low-level summary
    - High-level summary
    - Utility functions summary
  - Error handling
  - Low-level interface
    - `bzCompressInit`
    - `bzCompress`
    - `bzCompressEnd`
    - `bzDecompressInit`
    - `bzDecompress`
    - `bzDecompressEnd`
  - High-level interface
    - `bzReadOpen`
    - `bzRead`
    - `bzReadGetUnused`
    - `bzReadClose`
    - `bzWriteOpen`
    - `bzWrite`
    - `bzWriteClose`
    - Handling embedded compressed data streams
    - Standard file-reading/writing code
  - Utility functions
    - `bzBuffToBuffCompress`
    - `bzBuffToBuffDecompress`
  - Using the library in a `stdio`-free environment
    - Getting rid of `stdio`
    - Critical error handling
  - Making a Windows DLL
- Miscellanea
  - Limitations of the compressed file format
  - Portability issues
  - Reporting bugs
  - Did you get the right package?
  - Testing
  - Further reading

This document was generated on 22 October 1998 using the texi2html translator version 1.51.