net.minecraft.network

public class CompressionDecoder

extends io.netty.handler.codec.ByteToMessageDecoder

pu
net.minecraft.network.CompressionDecoder
net.minecraft.class_2532
net.minecraft.network.PacketInflater
net.minecraft.src.C_4959_
net.minecraft.network.PacketDecompressor

Field summary

Modifier and TypeField
public static final int
a
MAXIMUM_COMPRESSED_LENGTH
field_34057
field_34057
f_182671_
public static final int
b
MAXIMUM_UNCOMPRESSED_LENGTH
field_33279
MAXIMUM_PACKET_SIZE
f_182672_
private final Inflater
c
inflater
field_11622
inflater
f_129434_
private int
d
threshold
field_11623
compressionThreshold
f_129435_
private boolean
e
validateDecompressed
field_34058
rejectsBadPackets
f_182673_

Constructor summary

ModifierConstructor
public (int compressionThreshold, boolean rejectsBadPackets)

Method summary

Modifier and TypeMethod
protected void
decode(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, List<Object> arg2)
decode(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, List<Object> arg2)
decode(io.netty.channel.ChannelHandlerContext arg0, io.netty.buffer.ByteBuf arg1, List<Object> arg2)
decode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf buf, List<Object> objects)
decode(io.netty.channel.ChannelHandlerContext p_129442_, io.netty.buffer.ByteBuf p_129443_, List<Object> arg2)
public void
a(int arg0, boolean arg1)
setThreshold(int arg0, boolean arg1)
method_10739(int arg0, boolean arg1)
setCompressionThreshold(int compressionThreshold, boolean rejectsBadPackets)
m_182677_(int p_182679_, boolean arg1)