Documentation
¶
Index ¶
- Constants
- Variables
- func GetDefaultIdNickname(id uint) string
- func Marshal(n int, b []byte, id uint) int
- func Size(id uint, s int) int
- func Skip(n int, b []byte, id uint, skipper SkipFunc) (int, error)
- func Unmarshal[T any](tn int, b []byte, id uint, unmarshaler any) (n int, t T, err error)
- type MarshalFunc
- type SkipFunc
Constants ¶
View Source
const ( Int16 uint = iota + 2 Int32 Int64 UInt16 UInt32 UInt64 Float32 Float64 Bool Byte String Slice Map ByteSlice )
View Source
const AllowedStartId = 16
Variables ¶
View Source
var GetIdNickname = GetDefaultIdNickname
Functions ¶
func GetDefaultIdNickname ¶
Returns the nickname for the standard IDs for all data types
Types ¶
Click to show internal directories.
Click to hide internal directories.