net.minecraft.network

public class CompressionDecoder

extends io.netty.handler.codec.ByteToMessageDecoder

wn
net.minecraft.network.CompressionDecoder
net.minecraft.class_2532
net.minecraft.network.handler.PacketInflater
net.minecraft.network.PacketDecompressor

Field summary

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

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)
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)
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)
public void
a(int arg0, boolean arg1)
setThreshold(int arg0, boolean arg1)
method_10739(int arg0, boolean arg1)
setCompressionThreshold(int compressionThreshold, boolean rejectsBadPackets)