net.minecraft.network

public class CompressionDecoder

extends io.netty.handler.codec.ByteToMessageDecoder

vr
net.minecraft.network.CompressionDecoder
net.minecraft.class_2532
net.minecraft.network.handler.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)
private void
a(io.netty.buffer.ByteBuf arg0)
setupInflaterInput(io.netty.buffer.ByteBuf arg0)
method_52896(io.netty.buffer.ByteBuf arg0)
setInputBuf(io.netty.buffer.ByteBuf buf)
m_294270_(io.netty.buffer.ByteBuf arg0)
private io.netty.buffer.ByteBuf
a(io.netty.channel.ChannelHandlerContext arg0, int arg1)
inflate(io.netty.channel.ChannelHandlerContext arg0, int arg1)
method_52897(io.netty.channel.ChannelHandlerContext arg0, int arg1)
inflate(io.netty.channel.ChannelHandlerContext context, int expectedSize)
m_294551_(io.netty.channel.ChannelHandlerContext p_298909_, int arg1)
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)