net.minecraft.network

public class CompressionEncoder

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

nc
net.minecraft.network.CompressionEncoder
net.minecraft.class_2534
net.minecraft.network.PacketDeflater
net.minecraft.network.NettyCompressionEncoder
net.minecraft.server.v1_16_R3.PacketCompressor

Field summary

Modifier and TypeField
private final byte[]
a
encodeBuf
field_11637
deflateBuffer
field_179302_a
private final Deflater
b
deflater
field_11638
deflater
field_179300_b
private int
c
threshold
field_11636
compressionThreshold
field_179301_c

Constructor summary

ModifierConstructor
public (int arg0)

Method summary

Modifier and TypeMethod
protected void
a(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, io.netty.buffer.ByteBuf arg2)
encode(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, io.netty.buffer.ByteBuf arg2)
method_10741(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, io.netty.buffer.ByteBuf arg2)
encode(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, io.netty.buffer.ByteBuf arg2)
encode(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, io.netty.buffer.ByteBuf arg2)
public void
a(int arg0)
setThreshold(int arg0)
method_10742(int arg0)
setCompressionThreshold(int compressionThreshold)
func_179299_a(int arg0)