Closed Mepth closed 7 years ago
If you're trying to pack a VarInt into a Buffer, use the pack_varint
method.
If you're trying to unpack a VarInt from a Buffer, use the unpack_varint
method.
For more information, see http://quarry.readthedocs.io/en/latest/sending_and_receiving_packets.html.
Otherwise, I'm a bit confused as to what exactly you're asking about. Please provide clarification on what you're trying to achieve.
How to get packets in int?