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

Function constructSliceDecodeFunc

json/codec.go:345–349  ·  view source on GitHub ↗
(size uintptr, t reflect.Type, decode decodeFunc)

Source from the content-addressed store, hash-verified

343}
344
345func constructSliceDecodeFunc(size uintptr, t reflect.Type, decode decodeFunc) decodeFunc {
346 return func(d decoder, b []byte, p unsafe.Pointer) ([]byte, error) {
347 return d.decodeSlice(b, p, size, t, decode)
348 }
349}
350
351func constructMapCodec(t reflect.Type, seen map[reflect.Type]*structType) codec {
352 var sortKeys sortFunc

Callers 1

constructSliceCodecFunction · 0.85

Calls 1

decodeSliceMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…