Versions in this module Expand all Collapse all v0 v0.0.1 Jan 2, 2025 Changes in this version + const Sanitize + const SanitizeCC + const SanitizeSkipWhitespaces + func PackBool(b bool) []byte + func PackInt(num int) []byte + func PackStr(str string) []byte + func UnpackInt(data []byte) int + func UnpackMsgAndSys(data []byte) (msgId int, system bool) + type Unpacker struct + func (u *Unpacker) Data() []byte + func (u *Unpacker) GetByte() (byte, error) + func (u *Unpacker) GetInt() int + func (u *Unpacker) GetMsgAndSys() (msgId int, system bool, err error) + func (u *Unpacker) GetRaw(size int) ([]byte, error) + func (u *Unpacker) GetString() (string, error) + func (u *Unpacker) GetStringSanitized(sanitizeType int) (string, error) + func (u *Unpacker) RemainingData() []byte + func (u *Unpacker) RemainingSize() int + func (u *Unpacker) Reset(data []byte) + func (u *Unpacker) Rest() []byte + func (u *Unpacker) Size() int