Package net.minecraft.network.encoding
Class VarInts
java.lang.Object
net.minecraft.network.encoding.VarInts
- Mappings:
Namespace Name official tc
intermediary net/minecraft/class_8703
named net/minecraft/network/encoding/VarInts
-
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 official a
Ltc;a:I
intermediary field_45682
Lnet/minecraft/class_8703;field_45682:I
named MAX_BYTES
Lnet/minecraft/network/encoding/VarInts;MAX_BYTES:I
-
DATA_BITS_MASK
private static final int DATA_BITS_MASK- See Also:
- Mappings:
Namespace Name Mixin selector official b
Ltc;b:I
intermediary field_45683
Lnet/minecraft/class_8703;field_45683:I
named DATA_BITS_MASK
Lnet/minecraft/network/encoding/VarInts;DATA_BITS_MASK:I
-
MORE_BITS_MASK
private static final int MORE_BITS_MASK- See Also:
- Mappings:
Namespace Name Mixin selector official c
Ltc;c:I
intermediary field_45684
Lnet/minecraft/class_8703;field_45684:I
named MORE_BITS_MASK
Lnet/minecraft/network/encoding/VarInts;MORE_BITS_MASK:I
-
DATA_BITS_PER_BYTE
private static final int DATA_BITS_PER_BYTE- See Also:
- Mappings:
Namespace Name Mixin selector official d
Ltc;d:I
intermediary field_45685
Lnet/minecraft/class_8703;field_45685:I
named DATA_BITS_PER_BYTE
Lnet/minecraft/network/encoding/VarInts;DATA_BITS_PER_BYTE:I
-
-
Constructor Details
-
VarInts
public VarInts()
-
-
Method Details
-
getSizeInBytes
public static int getSizeInBytes(int i) - Mappings:
Namespace Name Mixin selector official a
Ltc;a(I)I
intermediary method_53015
Lnet/minecraft/class_8703;method_53015(I)I
named getSizeInBytes
Lnet/minecraft/network/encoding/VarInts;getSizeInBytes(I)I
-
shouldContinueRead
public static boolean shouldContinueRead(byte b) - Mappings:
Namespace Name Mixin selector official a
Ltc;a(B)Z
intermediary method_53014
Lnet/minecraft/class_8703;method_53014(B)Z
named shouldContinueRead
Lnet/minecraft/network/encoding/VarInts;shouldContinueRead(B)Z
-
read
- Mappings:
Namespace Name Mixin selector official a
Ltc;a(Lio/netty/buffer/ByteBuf;)I
intermediary method_53016
Lnet/minecraft/class_8703;method_53016(Lio/netty/buffer/ByteBuf;)I
named read
Lnet/minecraft/network/encoding/VarInts;read(Lio/netty/buffer/ByteBuf;)I
-
write
- Mappings:
Namespace Name Mixin selector official a
Ltc;a(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;
named write
Lnet/minecraft/network/encoding/VarInts;write(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
-