net.minecraft.network.handler

public class SplitterHandler

extends io.netty.handler.codec.ByteToMessageDecoder

net.minecraft.network.Varint21FrameDecoder
net.minecraft.class_2550
net.minecraft.network.handler.SplitterHandler

Field summary

Modifier and TypeField
private static final int
MAX_VARINT21_BYTES
field_45690
LENGTH_BYTES
private final io.netty.buffer.ByteBuf
helperBuf
field_45691
reusableBuf
private final PacketSizeLogger
monitor
field_45956
packetSizeLogger

Constructor summary

ModifierConstructor
public (PacketSizeLogger packetSizeLogger)

Method summary

Modifier and TypeMethod
protected void
handlerRemoved0(io.netty.channel.ChannelHandlerContext ctx)
handlerRemoved0(io.netty.channel.ChannelHandlerContext arg0)
handlerRemoved0(io.netty.channel.ChannelHandlerContext context)
private static boolean
copyVarint(io.netty.buffer.ByteBuf in, io.netty.buffer.ByteBuf out)
method_53022(io.netty.buffer.ByteBuf arg0, io.netty.buffer.ByteBuf arg1)
shouldSplit(io.netty.buffer.ByteBuf source, io.netty.buffer.ByteBuf sizeBuf)
protected void
decode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf in, List<Object> out)
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> bytes)