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

Function constructStringDecodeFunc

json/codec.go:248–252  ·  view source on GitHub ↗
(decode decodeFunc)

Source from the content-addressed store, hash-verified

246}
247
248func constructStringDecodeFunc(decode decodeFunc) decodeFunc {
249 return func(d decoder, b []byte, p unsafe.Pointer) ([]byte, error) {
250 return d.decodeFromString(b, p, decode)
251 }
252}
253
254func constructStringToIntDecodeFunc(t reflect.Type, decode decodeFunc) decodeFunc {
255 return func(d decoder, b []byte, p unsafe.Pointer) ([]byte, error) {

Callers 2

constructStringCodecFunction · 0.85
appendStructFieldsFunction · 0.85

Calls 1

decodeFromStringMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…