Package com.ning.compress.lzf.impl
Class UnsafeChunkEncoders
- java.lang.Object
-
- com.ning.compress.lzf.impl.UnsafeChunkEncoders
-
public final class UnsafeChunkEncoders extends java.lang.ObjectClass that handles actual encoding of individual chunks. Resulting chunks can be compressed or non-compressed; compression is only used if it actually reduces chunk size (including overhead of additional header bytes)
-
-
Field Summary
Fields Modifier and Type Field Description private static booleanLITTLE_ENDIAN
-
Constructor Summary
Constructors Constructor Description UnsafeChunkEncoders()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnsafeChunkEncodercreateEncoder(int totalLength)static UnsafeChunkEncodercreateEncoder(int totalLength, BufferRecycler bufferRecycler)static UnsafeChunkEncodercreateNonAllocatingEncoder(int totalLength)static UnsafeChunkEncodercreateNonAllocatingEncoder(int totalLength, BufferRecycler bufferRecycler)
-
-
-
Method Detail
-
createEncoder
public static UnsafeChunkEncoder createEncoder(int totalLength)
-
createNonAllocatingEncoder
public static UnsafeChunkEncoder createNonAllocatingEncoder(int totalLength)
-
createEncoder
public static UnsafeChunkEncoder createEncoder(int totalLength, BufferRecycler bufferRecycler)
-
createNonAllocatingEncoder
public static UnsafeChunkEncoder createNonAllocatingEncoder(int totalLength, BufferRecycler bufferRecycler)
-
-