base

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CRC32

func CRC32(params ...interface{}) uint32

func Decode

func Decode(b []byte, ptr interface{}) error

Decode将Encode的结果重新赋值给ptr指向的类型

func DecodeReflectValue

func DecodeReflectValue(b []byte, value reflect.Value) error

func Encode

func Encode(val interface{}) ([]byte, error)

Encode将任意类型编码为[]byte类型

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL