Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrVarIntTooLarge = errors.New("minecomm: varint too large")
View Source
var ErrVarLongTooLarge = errors.New("minecomm: varlong too large")
Functions ¶
func EncodeVarInt ¶
EncodeVarInt takes an int32 and encodes it into an array of bytes of n size as specified on https://wiki.vg/Data_types#VarInt_and_VarLong
func EncodeVarLong ¶
EncodeVarLong takes an in64, and encodes it into an array of bytes of size n as specified on https://wiki.vg/Data_types#VarInt_and_VarLong
Types ¶
Click to show internal directories.
Click to hide internal directories.