Top Inners Constructors Methods
net.jpountz.lz4

pack-priv final Enum LZ4ByteBufferUtils

extends Enum<LZ4ByteBufferUtils>
Class Inheritance
Static Imports
net.jpountz.lz4.LZ4Constants.COPY_LENGTH, .LZ4Constants.LAST_LITERALS, .LZ4Constants.ML_BITS, .LZ4Constants.ML_MASK, .LZ4Constants.RUN_MASK, net.jpountz.util.ByteBufferUtils.readByte, .ByteBufferUtils.readInt, .ByteBufferUtils.readLong, .ByteBufferUtils.writeByte, .ByteBufferUtils.writeInt, .ByteBufferUtils.writeLong

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static int
commonBytes(ByteBuffer src, int ref, int sOff, int srcLimit)

pack-priv static int
commonBytesBackward(ByteBuffer b, int o1, int o2, int l1, int l2)

pack-priv static void
pack-priv static int
encodeSequence(ByteBuffer src, int anchor, int matchOff, int matchRef, int matchLen, ByteBuffer dest, int dOff, int destEnd)

pack-priv static int
hash(ByteBuffer buf, int i)

pack-priv static int
hash64k(ByteBuffer buf, int i)

pack-priv static int
lastLiterals(ByteBuffer src, int sOff, int srcLen, ByteBuffer dest, int dOff, int destEnd)

pack-priv static boolean
readIntEquals(ByteBuffer buf, int i, int j)

pack-priv static void
safeArraycopy(ByteBuffer src, int sOff, ByteBuffer dest, int dOff, int len)

pack-priv static void
safeIncrementalCopy(ByteBuffer dest, int matchOff, int dOff, int matchLen)

public static LZ4ByteBufferUtils
public static LZ4ByteBufferUtils[]
pack-priv static void
wildArraycopy(ByteBuffer src, int sOff, ByteBuffer dest, int dOff, int len)

pack-priv static void
wildIncrementalCopy(ByteBuffer dest, int matchOff, int dOff, int matchCopyEnd)

pack-priv static int
writeLen(int len, ByteBuffer dest, int dOff)

Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Constructor Detail

LZ4ByteBufferUtilsback to summary
private LZ4ByteBufferUtils()

Method Detail

commonBytesback to summary
pack-priv static int commonBytes(ByteBuffer src, int ref, int sOff, int srcLimit)
commonBytesBackwardback to summary
pack-priv static int commonBytesBackward(ByteBuffer b, int o1, int o2, int l1, int l2)
copyToback to summary
pack-priv static void copyTo(LZ4ByteBufferUtils.Match m1, LZ4ByteBufferUtils.Match m2)
encodeSequenceback to summary
pack-priv static int encodeSequence(ByteBuffer src, int anchor, int matchOff, int matchRef, int matchLen, ByteBuffer dest, int dOff, int destEnd)
hashback to summary
pack-priv static int hash(ByteBuffer buf, int i)
hash64kback to summary
pack-priv static int hash64k(ByteBuffer buf, int i)
lastLiteralsback to summary
pack-priv static int lastLiterals(ByteBuffer src, int sOff, int srcLen, ByteBuffer dest, int dOff, int destEnd)
readIntEqualsback to summary
pack-priv static boolean readIntEquals(ByteBuffer buf, int i, int j)
safeArraycopyback to summary
pack-priv static void safeArraycopy(ByteBuffer src, int sOff, ByteBuffer dest, int dOff, int len)
safeIncrementalCopyback to summary
pack-priv static void safeIncrementalCopy(ByteBuffer dest, int matchOff, int dOff, int matchLen)
valueOfback to summary
public static LZ4ByteBufferUtils valueOf(String name)
valuesback to summary
public static LZ4ByteBufferUtils[] values()
wildArraycopyback to summary
pack-priv static void wildArraycopy(ByteBuffer src, int sOff, ByteBuffer dest, int dOff, int len)
wildIncrementalCopyback to summary
pack-priv static void wildIncrementalCopy(ByteBuffer dest, int matchOff, int dOff, int matchCopyEnd)
writeLenback to summary
pack-priv static int writeLen(int len, ByteBuffer dest, int dOff)
net.jpountz.lz4 back to summary

pack-priv Class LZ4ByteBufferUtils.Match

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv int
pack-priv int
pack-priv int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv int
end()

pack-priv void
fix(int correction)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

lenback to summary
pack-priv int len
refback to summary
pack-priv int ref
startback to summary
pack-priv int start

Constructor Detail

Matchback to summary
pack-priv Match()

Method Detail

endback to summary
pack-priv int end()
fixback to summary
pack-priv void fix(int correction)