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

Function constructStringToIntDecodeFunc

json/codec.go:254–258  ·  view source on GitHub ↗
(t reflect.Type, decode decodeFunc)

Source from the content-addressed store, hash-verified

252}
253
254func constructStringToIntDecodeFunc(t reflect.Type, decode decodeFunc) decodeFunc {
255 return func(d decoder, b []byte, p unsafe.Pointer) ([]byte, error) {
256 return d.decodeFromStringToInt(b, p, t, decode)
257 }
258}
259
260func constructArrayCodec(t reflect.Type, seen map[reflect.Type]*structType, canAddr bool) codec {
261 e := t.Elem()

Callers 1

appendStructFieldsFunction · 0.85

Calls 1

decodeFromStringToIntMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…