Documentation ¶
Index ¶
- func BJBool(b bool) ([]byte, error)
- func BJMap(value reflect.Value) ([]byte, error)
- func BJNumber[T constraints.Integer | constraints.Float](n T) ([]byte, error)
- func BJSlice(value reflect.Value) ([]byte, error)
- func BJString(str string) ([]byte, error)
- func LengthToBytes(code uint8, l int) []byte
- func Marshal(data interface{}) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BJNumber ¶
func BJNumber[T constraints.Integer | constraints.Float](n T) ([]byte, error)
func LengthToBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.