Package net.minecraft.network.encoding
Class VarLongs
java.lang.Object
net.minecraft.network.encoding.VarLongs
- Mappings:
Namespace Name named net/minecraft/network/encoding/VarLongs
intermediary net/minecraft/class_8704
official wr
-
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
(long l) static long
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/VarLongs;MAX_BYTES:I
intermediary field_45686
Lnet/minecraft/class_8704;field_45686:I
official a
Lwr;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/VarLongs;DATA_BITS_MASK:I
intermediary field_45687
Lnet/minecraft/class_8704;field_45687:I
official b
Lwr;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/VarLongs;MORE_BITS_MASK:I
intermediary field_45688
Lnet/minecraft/class_8704;field_45688:I
official c
Lwr;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/VarLongs;DATA_BITS_PER_BYTE:I
intermediary field_45689
Lnet/minecraft/class_8704;field_45689:I
official d
Lwr;d:I
-
-
Constructor Details
-
VarLongs
public VarLongs()
-
-
Method Details
-
getSizeInBytes
public static int getSizeInBytes(long l) - Mappings:
Namespace Name Mixin selector named getSizeInBytes
Lnet/minecraft/network/encoding/VarLongs;getSizeInBytes(J)I
intermediary method_53019
Lnet/minecraft/class_8704;method_53019(J)I
official a
Lwr;a(J)I
-
shouldContinueRead
public static boolean shouldContinueRead(byte b) - Mappings:
Namespace Name Mixin selector named shouldContinueRead
Lnet/minecraft/network/encoding/VarLongs;shouldContinueRead(B)Z
intermediary method_53018
Lnet/minecraft/class_8704;method_53018(B)Z
official a
Lwr;a(B)Z
-
read
- Mappings:
Namespace Name Mixin selector named read
Lnet/minecraft/network/encoding/VarLongs;read(Lio/netty/buffer/ByteBuf;)J
intermediary method_53020
Lnet/minecraft/class_8704;method_53020(Lio/netty/buffer/ByteBuf;)J
official a
Lwr;a(Lio/netty/buffer/ByteBuf;)J
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/encoding/VarLongs;write(Lio/netty/buffer/ByteBuf;J)Lio/netty/buffer/ByteBuf;
intermediary method_53021
Lnet/minecraft/class_8704;method_53021(Lio/netty/buffer/ByteBuf;J)Lio/netty/buffer/ByteBuf;
official a
Lwr;a(Lio/netty/buffer/ByteBuf;J)Lio/netty/buffer/ByteBuf;
-