package
0.6.0-alpha.3
Repository: https://github.com/ulikunitz/xz.git
Documentation: pkg.go.dev

# Functions

DecodeDictSize decodes the encoded dictionary capacity.
EncodeDictSize encodes a dictionary capacity.
NewRawReader returns a reader that can read a LZMA stream.
NewRawWriter writes only compress data stream.
NewReader creates a new reader for the LZMA streams.
NewReader2 creates a LZMA2 reader.
NewReader2Config generates an LZMA2 reader using the configuration parameter attribute.
NewWriter creates a new LZMA writer.
NewWriter2 generates an LZMA2 writer for the default configuration.
NewWriter2Config constructs an LZMA2 writer for a specific configuration.
NewWriterConfig creates a new LZMA writer using the parameter provided by cfg.

# Constants

EOSSize marks a stream that requires the EOS marker to identify the end of the stream.

# Variables

ErrEncoding reports an encoding error.

# Structs

Properties define the properties for the LZMA and LZMA2 compression.
Reader2Config provides the dictionary size parameter for a LZMA2 reader.
Writer2Config provides the configuration parameters for an LZMA2 writer.
WriterConfig defines the parameters for the LZMA Writer.

# Interfaces

Writer2 is an interface that can Write, Close and Flush.