net.minecraft.network

public class CompressionEncoder

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

sl
net.minecraft.network.CompressionEncoder
net.minecraft.class_2534
net.minecraft.network.handler.PacketDeflater
net.minecraft.src.C_4960_
net.minecraft.network.PacketCompressor

Field summary

Modifier and TypeField
private final byte[]
a
encodeBuf
field_11637
deflateBuffer
f_129444_
private final Deflater
b
deflater
field_11638
deflater
f_129445_
private int
c
threshold
field_11636
compressionThreshold
f_129446_

Constructor summary

ModifierConstructor
public (int compressionThreshold)

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 p_129453_, io.netty.buffer.ByteBuf p_129454_, io.netty.buffer.ByteBuf arg2)
public int
a()
getThreshold()
method_36120()
getCompressionThreshold()
m_178298_()
public void
a(int arg0)
setThreshold(int arg0)
method_10742(int arg0)
setCompressionThreshold(int compressionThreshold)
m_129449_(int arg0)