check

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnMarshalFromUnsafe added in v0.4.4

func UnMarshalFromUnsafe(codec codec.Codec, data []byte, value interface{}) (interface{}, error)

UnMarshalFromUnsafe structPtr == nil时不会返回空结果, 而是构造一个*interface{}传给 Codec做为反序列化的类型, 这是反序列化出的具体类型由特定的Codec进行选择, 有些要求一定要具体类型的serialization 可能会Panic, 比如protobuf data中没数据时返回nil结果, 而不关心structPtr中的数据

Types

This section is empty.

Jump to

Keyboard shortcuts

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