Documentation ¶
Index ¶
- Variables
- func BitTreeDecode(probs []prob, numBits int, rc *rangeDecoder) (uint32, error)
- func BitTreeReverseDecode(probs []prob, numBits int, rc *rangeDecoder) (uint32, error)
- func DecodeDictSize(properties []byte) (uint32, error)
- func DecodeDictSize2(encodedDictSize byte) uint32
- func DecodeProp(d byte) (uint8, uint8, uint8, error)
- func DecodeUnpackSize(header []byte) uint64
- type Reader1
- type Reader2
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCorrupted = errors.New("corrupted") ErrIncorrectProperties = errors.New("incorrect LZMA properties") ErrResultError = errors.New("result error") ErrDictOutOfRange = errors.New("dictionary capacity is out of range") ErrUnexpectedLZMA2Code = errors.New("unexpected lzma2 code") ErrNoLZMAReader = errors.New("no lzma reader on chunkLZMAResetState") )
Functions ¶
func BitTreeDecode ¶
func BitTreeReverseDecode ¶
func DecodeDictSize ¶
func DecodeDictSize2 ¶
func DecodeUnpackSize ¶
Types ¶
type Reader1 ¶
type Reader1 struct {
// contains filtered or unexported fields
}
func NewReader1 ¶
func NewReader1(inStream io.ByteReader) (*Reader1, error)
func NewReader1ForReader2 ¶
func NewReader1ForSevenZip ¶
type Reader2 ¶
type Reader2 struct {
// contains filtered or unexported fields
}
func NewReader2ForSevenZip ¶
Click to show internal directories.
Click to hide internal directories.