Top Description Fields Constructors Methods
org.brotli.dec

pack-priv final Class IntReader

extends Object
Class Inheritance

Byte-to-int conversion magic.

Field Summary

Modifier and TypeField and Description
private byte[]
private int[]

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static void
convert(IntReader ir, int intLen)

Translates bytes to ints.

pack-priv static void
init(IntReader ir, byte[] byteBuffer, int[] intBuffer)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

byteBufferback to summary
private byte[] byteBuffer
intBufferback to summary
private int[] intBuffer

Constructor Detail

IntReaderback to summary
pack-priv IntReader()

Method Detail

convertback to summary
pack-priv static void convert(IntReader ir, int intLen)

Translates bytes to ints. NB: intLen == 4 * byteSize! NB: intLen should be less or equal to intBuffer length.

initback to summary
pack-priv static void init(IntReader ir, byte[] byteBuffer, int[] intBuffer)