Class LZ4
java.lang.Object
io.activej.csp.process.frame.impl.LZ4
- All Implemented Interfaces:
FrameFormat
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal classstatic final classstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanintnet.jpountz.lz4.LZ4Factorystatic final io.activej.common.MemSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LZ4.Builderbuilder()static LZ4create()Creates a decoder which decodes data encoded byBlockEncoderCreates an encoder which transforms input bufs into bufs of encoded data
-
Field Details
-
CHECKS
public static final boolean CHECKS -
MAX_BLOCK_SIZE
public static final io.activej.common.MemSize MAX_BLOCK_SIZE -
factory
public net.jpountz.lz4.LZ4Factory factory -
compressionLevel
public int compressionLevel
-
-
Constructor Details
-
LZ4
public LZ4(net.jpountz.lz4.LZ4Factory factory, int compressionLevel)
-
-
Method Details
-
create
-
builder
-
createEncoder
Description copied from interface:FrameFormatCreates an encoder which transforms input bufs into bufs of encoded data- Specified by:
createEncoderin interfaceFrameFormat- Returns:
- block encoder
-
createDecoder
Description copied from interface:FrameFormatCreates a decoder which decodes data encoded byBlockEncoder- Specified by:
createDecoderin interfaceFrameFormat- Returns:
- block decoder
-