Documentation
¶
Index ¶
- func GetBytesFromKeyValue(key any, value any) ([]byte, error)
- func GetBytesFromStruct(obj any) ([]byte, error)
- func GetBytesFromValue(data any) ([]byte, error)
- func GetKeyValueFromBytes(data []byte) (any, any, error)
- func GetStructFromBytes(data []byte, target any) error
- func GetValueFromBytes(data []byte) (any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBytesFromKeyValue ¶
Key-Value模型两个基本数据类型值转换字节数组
func GetKeyValueFromBytes ¶
字节数组转换两个基本类型值,Key-Value模型
Types ¶
This section is empty.
Source Files
¶
- protocol.go
Click to show internal directories.
Click to hide internal directories.