Documentation
¶
Index ¶
- Variables
- func DecodeString(r io.Reader) (ret string, err error)
- func DecodeVarInt(r io.Reader) (ret int32, err error)
- func DecodeVarLong(r io.Reader) (ret int64, err error)
- func EncodeString(w io.Writer, s string) (err error)
- func EncodeVarInt(w io.Writer, v int32) (err error)
- func EncodeVarLong(w io.Writer, v int64) (err error)
- func ErroringIndex[K comparable, V any, M map[K]V](m M, i K) (v V, err error)
- type Actor
- type Direction
- type EncodeDecodeAble
- type PacketInfo
- type RestBuffer
- type State
- type ToDo
Constants ¶
This section is empty.
Variables ¶
View Source
var BadTypeError = errors.New("bad type")
View Source
var ToDoError = errors.New("to do")
Functions ¶
func ErroringIndex ¶
func ErroringIndex[K comparable, V any, M map[K]V](m M, i K) (v V, err error)
Types ¶
type EncodeDecodeAble ¶
type PacketInfo ¶
type RestBuffer ¶
type RestBuffer []byte
Click to show internal directories.
Click to hide internal directories.