MCPcopy Create free account
hub / github.com/segmentio/encoding / constructMaybeEmptyInterfaceEncoderFunc

Function constructMaybeEmptyInterfaceEncoderFunc

json/codec.go:779–783  ·  view source on GitHub ↗
(t reflect.Type)

Source from the content-addressed store, hash-verified

777}
778
779func constructMaybeEmptyInterfaceEncoderFunc(t reflect.Type) encodeFunc {
780 return func(e encoder, b []byte, p unsafe.Pointer) ([]byte, error) {
781 return e.encodeMaybeEmptyInterface(b, p, t)
782 }
783}
784
785func constructMaybeEmptyInterfaceDecoderFunc(t reflect.Type) decodeFunc {
786 return func(d decoder, b []byte, p unsafe.Pointer) ([]byte, error) {

Callers 1

constructInterfaceCodecFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…