net.minecraft.network

public class CompressionEncoder

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

wo
net.minecraft.network.CompressionEncoder
net.minecraft.class_2534
net.minecraft.network.handler.PacketDeflater
net.minecraft.network.PacketCompressor

Field summary

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

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)
public int
a()
getThreshold()
method_36120()
getCompressionThreshold()
public void
a(int arg0)
setThreshold(int arg0)
method_10742(int arg0)
setCompressionThreshold(int compressionThreshold)