Package net.minecraft.network.encoding
Class VarLongs
java.lang.Object
net.minecraft.network.encoding.VarLongs
- Mappings:
Namespace Name official uxintermediary net/minecraft/class_8704named net/minecraft/network/encoding/VarLongs
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetSizeInBytes(long l) static longstatic booleanshouldContinueRead(byte b) static ByteBuf
-
Field Details
-
MAX_BYTES
private static final int MAX_BYTES- See Also:
- Mappings:
Namespace Name Mixin selector official aLux;a:Iintermediary field_45686Lnet/minecraft/class_8704;field_45686:Inamed MAX_BYTESLnet/minecraft/network/encoding/VarLongs;MAX_BYTES:I
-
DATA_BITS_MASK
private static final int DATA_BITS_MASK- See Also:
- Mappings:
Namespace Name Mixin selector official bLux;b:Iintermediary field_45687Lnet/minecraft/class_8704;field_45687:Inamed DATA_BITS_MASKLnet/minecraft/network/encoding/VarLongs;DATA_BITS_MASK:I
-
MORE_BITS_MASK
private static final int MORE_BITS_MASK- See Also:
- Mappings:
Namespace Name Mixin selector official cLux;c:Iintermediary field_45688Lnet/minecraft/class_8704;field_45688:Inamed MORE_BITS_MASKLnet/minecraft/network/encoding/VarLongs;MORE_BITS_MASK:I
-
DATA_BITS_PER_BYTE
private static final int DATA_BITS_PER_BYTE- See Also:
- Mappings:
Namespace Name Mixin selector official dLux;d:Iintermediary field_45689Lnet/minecraft/class_8704;field_45689:Inamed DATA_BITS_PER_BYTELnet/minecraft/network/encoding/VarLongs;DATA_BITS_PER_BYTE:I
-
-
Constructor Details
-
VarLongs
public VarLongs()
-
-
Method Details
-
getSizeInBytes
public static int getSizeInBytes(long l) - Mappings:
Namespace Name Mixin selector official aLux;a(J)Iintermediary method_53019Lnet/minecraft/class_8704;method_53019(J)Inamed getSizeInBytesLnet/minecraft/network/encoding/VarLongs;getSizeInBytes(J)I
-
shouldContinueRead
public static boolean shouldContinueRead(byte b) - Mappings:
Namespace Name Mixin selector official aLux;a(B)Zintermediary method_53018Lnet/minecraft/class_8704;method_53018(B)Znamed shouldContinueReadLnet/minecraft/network/encoding/VarLongs;shouldContinueRead(B)Z
-
read
- Mappings:
Namespace Name Mixin selector official aLux;a(Lio/netty/buffer/ByteBuf;)Jintermediary method_53020Lnet/minecraft/class_8704;method_53020(Lio/netty/buffer/ByteBuf;)Jnamed readLnet/minecraft/network/encoding/VarLongs;read(Lio/netty/buffer/ByteBuf;)J
-
write
- Mappings:
Namespace Name Mixin selector official aLux;a(Lio/netty/buffer/ByteBuf;J)Lio/netty/buffer/ByteBuf;intermediary method_53021Lnet/minecraft/class_8704;method_53021(Lio/netty/buffer/ByteBuf;J)Lio/netty/buffer/ByteBuf;named writeLnet/minecraft/network/encoding/VarLongs;write(Lio/netty/buffer/ByteBuf;J)Lio/netty/buffer/ByteBuf;
-