Documentation
¶
Index ¶
- func AnyErr(errs ...error) error
- func Assert(condition bool, errMessage string)
- func Log(fn func(msg string, args ...any), message string, args ...any)
- func PrefixErr(prefix string, err error) error
- func ReadTuxleString(reader bufio.Reader) (string, error)
- func ReadUint16(reader io.Reader) (uint16, error)
- func ReadUint32(reader io.Reader) (uint32, error)
- func ReadUint64(reader io.Reader) (uint64, error)
- func ReadUint8(reader io.Reader) (uint8, error)
- func SlicesDiff[T string | int | bool](a, b []T) []T
- func WriteTuxleString(writer io.Writer, in string) error
- func WriteUint16(writer io.Writer, in uint16) error
- func WriteUint32(writer io.Writer, in uint32) error
- func WriteUint64(writer io.Writer, in uint64) error
- func WriteUint8(writer io.Writer, in uint8) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadTuxleString ¶
Read a string that ends with '\x00' (null character)
func SlicesDiff ¶
func WriteTuxleString ¶
Write a string that ends with '\x00' (null character)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.