net.minecraft.network

public class VarInt

uw
net.minecraft.network.VarInt
net.minecraft.class_8703
net.minecraft.network.encoding.VarInts
net.minecraft.src.C_290082_
net.minecraft.network.VarInt

Field summary

Modifier and TypeField
private static final int
a
MAX_VARINT_SIZE
field_45682
MAX_BYTES
f_291049_
private static final int
b
DATA_BITS_MASK
field_45683
DATA_BITS_MASK
f_291170_
private static final int
c
CONTINUATION_BIT_MASK
field_45684
MORE_BITS_MASK
f_290364_
private static final int
d
DATA_BITS_PER_BYTE
field_45685
DATA_BITS_PER_BYTE
f_291216_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static int
a(int arg0)
getByteSize(int arg0)
method_53015(int arg0)
getSizeInBytes(int i)
m_294521_(int p_298763_)
public static boolean
a(byte arg0)
hasContinuationBit(byte arg0)
method_53014(byte arg0)
shouldContinueRead(byte b)
m_294007_(byte p_299197_)
public static int
a(io.netty.buffer.ByteBuf arg0)
read(io.netty.buffer.ByteBuf arg0)
method_53016(io.netty.buffer.ByteBuf arg0)
read(io.netty.buffer.ByteBuf buf)
m_293637_(io.netty.buffer.ByteBuf p_298603_)
public static io.netty.buffer.ByteBuf
a(io.netty.buffer.ByteBuf arg0, int arg1)
write(io.netty.buffer.ByteBuf arg0, int arg1)
method_53017(io.netty.buffer.ByteBuf arg0, int arg1)
write(io.netty.buffer.ByteBuf buf, int i)
m_293803_(io.netty.buffer.ByteBuf p_300403_, int p_297833_)