Package net.minecraft.network.encoding
Class VarInts
java.lang.Object
net.minecraft.network.encoding.VarInts
- Mappings:
Namespace Name named net/minecraft/network/encoding/VarInts
intermediary net/minecraft/class_8703
official xm
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getSizeInBytes
(int i) static int
static boolean
shouldContinueRead
(byte b) static ByteBuf
-
Field Details
-
MAX_BYTES
private static final int MAX_BYTES- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_BYTES
Lnet/minecraft/network/encoding/VarInts;MAX_BYTES:I
intermediary field_45682
Lnet/minecraft/class_8703;field_45682:I
official a
Lxm;a:I
-
DATA_BITS_MASK
private static final int DATA_BITS_MASK- See Also:
- Mappings:
Namespace Name Mixin selector named DATA_BITS_MASK
Lnet/minecraft/network/encoding/VarInts;DATA_BITS_MASK:I
intermediary field_45683
Lnet/minecraft/class_8703;field_45683:I
official b
Lxm;b:I
-
MORE_BITS_MASK
private static final int MORE_BITS_MASK- See Also:
- Mappings:
Namespace Name Mixin selector named MORE_BITS_MASK
Lnet/minecraft/network/encoding/VarInts;MORE_BITS_MASK:I
intermediary field_45684
Lnet/minecraft/class_8703;field_45684:I
official c
Lxm;c:I
-
DATA_BITS_PER_BYTE
private static final int DATA_BITS_PER_BYTE- See Also:
- Mappings:
Namespace Name Mixin selector named DATA_BITS_PER_BYTE
Lnet/minecraft/network/encoding/VarInts;DATA_BITS_PER_BYTE:I
intermediary field_45685
Lnet/minecraft/class_8703;field_45685:I
official d
Lxm;d:I
-
-
Constructor Details
-
VarInts
public VarInts()
-
-
Method Details
-
getSizeInBytes
public static int getSizeInBytes(int i) - Mappings:
Namespace Name Mixin selector named getSizeInBytes
Lnet/minecraft/network/encoding/VarInts;getSizeInBytes(I)I
intermediary method_53015
Lnet/minecraft/class_8703;method_53015(I)I
official a
Lxm;a(I)I
-
shouldContinueRead
public static boolean shouldContinueRead(byte b) - Mappings:
Namespace Name Mixin selector named shouldContinueRead
Lnet/minecraft/network/encoding/VarInts;shouldContinueRead(B)Z
intermediary method_53014
Lnet/minecraft/class_8703;method_53014(B)Z
official a
Lxm;a(B)Z
-
read
- Mappings:
Namespace Name Mixin selector named read
Lnet/minecraft/network/encoding/VarInts;read(Lio/netty/buffer/ByteBuf;)I
intermediary method_53016
Lnet/minecraft/class_8703;method_53016(Lio/netty/buffer/ByteBuf;)I
official a
Lxm;a(Lio/netty/buffer/ByteBuf;)I
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/encoding/VarInts;write(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
intermediary method_53017
Lnet/minecraft/class_8703;method_53017(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
official a
Lxm;a(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
-