public class SnappyFrameEncoder
extends io.netty.handler.codec.MessageToByteEncoder<io.netty.buffer.ByteBuf>
ByteBuf using the Snappy framing format.
See Snappy framing format.| Constructor and Description |
|---|
SnappyFrameEncoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
io.netty.buffer.ByteBuf out) |
static SnappyFrameEncoder |
snappyEncoderWithJumboFrames()
Create a new instance with a
chunk size.
|
acceptOutboundMessage, allocateBuffer, isPreferDirect, writebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharablepublic static SnappyFrameEncoder snappyEncoderWithJumboFrames()
Copyright © 2008–2024 The Netty Project. All rights reserved.