net.minecraft.network

public class Varint21FrameDecoder

extends io.netty.handler.codec.ByteToMessageDecoder

ws
net.minecraft.network.Varint21FrameDecoder
net.minecraft.class_2550
net.minecraft.network.handler.SplitterHandler
net.minecraft.src.C_4989_
net.minecraft.network.PacketSplitter

Field summary

Modifier and TypeField
private static final int
a
MAX_VARINT21_BYTES
field_45690
LENGTH_BYTES
f_291870_
private final io.netty.buffer.ByteBuf
b
helperBuf
field_45691
reusableBuf
f_291254_
private final BandwidthDebugMonitor
c
monitor
field_45956
packetSizeLogger
f_290873_

Constructor summary

ModifierConstructor
public (BandwidthDebugMonitor packetSizeLogger)

Method summary

Modifier and TypeMethod
protected void
handlerRemoved0(io.netty.channel.ChannelHandlerContext arg0)
handlerRemoved0(io.netty.channel.ChannelHandlerContext arg0)
handlerRemoved0(io.netty.channel.ChannelHandlerContext arg0)
handlerRemoved0(io.netty.channel.ChannelHandlerContext context)
handlerRemoved0(io.netty.channel.ChannelHandlerContext arg0)
private static boolean
a(io.netty.buffer.ByteBuf arg0, io.netty.buffer.ByteBuf arg1)
copyVarint(io.netty.buffer.ByteBuf arg0, io.netty.buffer.ByteBuf arg1)
method_53022(io.netty.buffer.ByteBuf arg0, io.netty.buffer.ByteBuf arg1)
shouldSplit(io.netty.buffer.ByteBuf source, io.netty.buffer.ByteBuf sizeBuf)
m_295212_(io.netty.buffer.ByteBuf p_299967_, io.netty.buffer.ByteBuf p_298224_)
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> bytes)
decode(io.netty.channel.ChannelHandlerContext p_130567_, io.netty.buffer.ByteBuf p_130568_, List<Object> arg2)