public class FastLzFrameDecoder
extends io.netty.handler.codec.ByteToMessageDecoder
| Constructor and Description |
|---|
FastLzFrameDecoder()
Creates the fastest FastLZ decoder without checksum calculation.
|
FastLzFrameDecoder(boolean validateChecksums)
Creates a FastLZ decoder with calculation of checksums as specified.
|
FastLzFrameDecoder(Checksum checksum)
Creates a FastLZ decoder with specified checksum calculator.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
List<Object> out) |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtensureNotSharable, handlerAdded, isSharablepublic FastLzFrameDecoder()
public FastLzFrameDecoder(boolean validateChecksums)
validateChecksums - If true, the checksum field will be validated against the actual
uncompressed data, and if the checksums do not match, a suitable
DecompressionException will be thrown.
Note, that in this case decoder will use Adler32
as a default checksum calculator.Copyright © 2008–2024 The Netty Project. All rights reserved.