Versions in this module Expand all Collapse all v1 v1.0.1 Feb 13, 2021 Changes in this version + const VarIntMaxByteSize + var ErrVarIntTooLarge = errors.New("VarInt too large") + func WriteString(w io.Writer, str String) error + func WriteUnsignedByte(w io.Writer, value UnsignedByte) error + func WriteUnsignedShort(buff io.Writer, value UnsignedShort) error + func WriteVarInt(w io.Writer, value VarInt) error + type String string + func ReadString(r io.Reader) (String, error) + type UnsignedByte byte + func ReadUnsignedByte(r io.Reader) (UnsignedByte, error) + type UnsignedShort uint16 + func ReadUnsignedShort(buff io.Reader) (UnsignedShort, error) + type VarInt int32 + func ReadVarInt(r io.Reader) (VarInt, error)