net.minecraft.network

public class CompressionEncoder

extends io.netty.handler.codec.MessageToByteEncoder<io.netty.buffer.ByteBuf>

en
net.minecraft.class_2565
net.minecraft.network.CompressionEncoder
net.minecraft.network.NettyCompressionEncoder

Field summary

Modifier and TypeField
private final byte[]
a
field_11550
buffer
buffer
private final Deflater
b
field_11551
deflator
deflater
private int
c
field_11552
threshold
threshold

Constructor summary

ModifierConstructor
public (int threshold)

Method summary

Modifier and TypeMethod
protected void
a(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, io.netty.buffer.ByteBuf arg2)
method_10586(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, io.netty.buffer.ByteBuf arg2)
encode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf msg, io.netty.buffer.ByteBuf out)
encode(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, io.netty.buffer.ByteBuf arg2)
public void
a(int arg0)
method_10585(int arg0)
setThreshold(int threshold)
setCompressionThreshold(int thresholdIn)