net.minecraft.network

public class CompressionDecoder

extends io.netty.handler.codec.ByteToMessageDecoder

ue
net.minecraft.network.CompressionDecoder
net.minecraft.class_2532
net.minecraft.unmapped.C_twqrkcqp
net.minecraft.network.handler.PacketInflater
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
f_slqmovnv
field_34057
MAXIMUM_COMPRESSED_LENGTH
f_182671_
public static final int
b
MAXIMUM_UNCOMPRESSED_LENGTH
field_33279
f_zgkeainh
MAXIMUM_PACKET_SIZE
MAXIMUM_PACKET_SIZE
f_182672_
private final Inflater
c
inflater
field_11622
f_hngeqdbi
inflater
inflater
f_129434_
private int
d
threshold
field_11623
f_sxnrojnc
compressionThreshold
compressionThreshold
f_129435_
private boolean
e
validateDecompressed
field_34058
f_hpztavkt
rejectsBadPackets
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)
m_zdbudlnd(io.netty.buffer.ByteBuf arg0)
setInputBuf(io.netty.buffer.ByteBuf buf)
setupInputBuf(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)
m_psqvgbxv(io.netty.channel.ChannelHandlerContext arg0, int arg1)
inflate(io.netty.channel.ChannelHandlerContext context, int expectedSize)
inflate(io.netty.channel.ChannelHandlerContext handlerContext, 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)
m_tatdfypu(int arg0, boolean arg1)
setCompressionThreshold(int compressionThreshold, boolean rejectsBadPackets)
setCompressionThreshold(int compressionThreshold, boolean rejectsBadPackets)
m_182677_(int p_182679_, boolean arg1)