MCPcopy Index your code
hub / github.com/segmentio/encoding / constructTextMarshalerEncodeFunc

Function constructTextMarshalerEncodeFunc

json/codec.go:822–826  ·  view source on GitHub ↗
(t reflect.Type, pointer bool)

Source from the content-addressed store, hash-verified

820}
821
822func constructTextMarshalerEncodeFunc(t reflect.Type, pointer bool) encodeFunc {
823 return func(e encoder, b []byte, p unsafe.Pointer) ([]byte, error) {
824 return e.encodeTextMarshaler(b, p, t, pointer)
825 }
826}
827
828func constructTextUnmarshalerDecodeFunc(t reflect.Type, pointer bool) decodeFunc {
829 return func(d decoder, b []byte, p unsafe.Pointer) ([]byte, error) {

Callers 3

constructCodecFunction · 0.85
constructSliceCodecFunction · 0.85
constructMapCodecFunction · 0.85

Calls 1

encodeTextMarshalerMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…