Top Fields Constructors Methods
org.tukaani.xz.rangecoder

public final Class RangeDecoderFromBuffer

extends RangeDecoder
Class Inheritance
Imports
java.io.DataInputStream, .IOException, org.tukaani.xz.ArrayCache, .CorruptedInputException

Field Summary

Modifier and TypeField and Description
private final byte[]
private static final int
private int
Inherited from org.tukaani.xz.rangecoder.RangeDecoder:
coderange

Constructor Summary

AccessConstructor and Description
public
RangeDecoderFromBuffer(int inputSizeMax, ArrayCache arrayCache)

Method Summary

Modifier and TypeMethod and Description
public boolean
public void
public void
public void
Inherited from org.tukaani.xz.rangecoder.RangeDecoder:
decodeBitdecodeBitTreedecodeDirectBitsdecodeReverseBitTree

Field Detail

bufback to summary
private final byte[] buf
INIT_SIZEback to summary
private static final int INIT_SIZE
posback to summary
private int pos

Constructor Detail

RangeDecoderFromBufferback to summary
public RangeDecoderFromBuffer(int inputSizeMax, ArrayCache arrayCache)

Method Detail

isFinishedback to summary
public boolean isFinished()
normalizeback to summary
public void normalize() throws IOException

Implements abstract org.tukaani.xz.rangecoder.RangeDecoder.normalize.

prepareInputBufferback to summary
public void prepareInputBuffer(DataInputStream in, int len) throws IOException
putArraysToCacheback to summary
public void putArraysToCache(ArrayCache arrayCache)