Documentation
¶
Index ¶
- func FromAny(s any) []byte
- func FromInt(i int) []byte
- func FromInt64(i int64) []byte
- func FromInteger[T constraints.Integer](v T) []byte
- func FromUint(i uint64) []byte
- func Int(b []byte) int
- func Int64(b []byte) int64
- func Integer[T constraints.Integer](b []byte) T
- func Uint(b []byte) uint64
- type Marshaler
- type Unmarshaler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromInteger ¶ added in v1.6.0
func FromInteger[T constraints.Integer](v T) []byte
func Integer ¶ added in v1.6.0
func Integer[T constraints.Integer](b []byte) T
Types ¶
type Unmarshaler ¶ added in v1.7.4
Click to show internal directories.
Click to hide internal directories.