prim
v1.15.5
github.com/bytedance/sonic/internal/encoder/prim
Documentation
pkg.go.dev ↗Functions
Compact
func Compact(p *[]byte, v []byte) error
EncodeJsonMarshaler
func EncodeJsonMarshaler(buf *[]byte, val json.Marshaler, opt uint64) error
EncodeNil
func EncodeNil(rb *[]byte) error
EncodeTextMarshaler
func EncodeTextMarshaler(buf *[]byte, val encoding.TextMarshaler, opt uint64) error
IsZero
func IsZero(val unsafe.Pointer, fv *resolver.FieldMeta) bool