xz2

Module stream

Source
Expand description

Raw in-memory LZMA streams.

The Stream type exported by this module is the primary type which performs encoding/decoding of LZMA streams. Each Stream is either an encoder or decoder and processes data in a streaming fashion.

Structs§

  • A custom chain of filters to configure an encoding stream.
  • Options that can be used to configure how LZMA encoding happens.
  • Builder to create a multi-threaded stream encoder.
  • Representation of an in-memory LZMA encoding or decoding stream.

Enums§

  • The action argument for process,
  • Possible integrity checks that can be part of a .xz stream.
  • Possible error codes that can be returned from a processing operation.
  • Match finders
  • Compression modes
  • Return value of a process operation.

Constants§

  • A flag passed when initializing a decoder, indicates that the stream may be multiple concatenated xz files.
  • A flag passed when initializing a decoder, causes the decoder to ignore any integrity checks listed.
  • A flag passed when initializing a decoder, causes process to return Status::GetCheck as soon as the integrity check is known.
  • A flag passed when initializing a decoder, causes process to return Error::NoCheck if the stream being decoded has no integrity check.
  • A flag passed when initializing a decoder, causes process to return Error::UnsupportedCheck if the stream being decoded has an integrity check that cannot be verified by this build of liblzma.