net.minecraft.network

public class VarInt

xm
net.minecraft.network.VarInt
net.minecraft.class_8703
net.minecraft.network.encoding.VarInts
net.minecraft.network.VarInt

Field summary

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

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)
public static boolean
a(byte arg0)
hasContinuationBit(byte arg0)
method_53014(byte arg0)
shouldContinueRead(byte b)
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)
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)