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

Function constructStringEncodeFunc

json/codec.go:242–246  ·  view source on GitHub ↗
(encode encodeFunc)

Source from the content-addressed store, hash-verified

240}
241
242func constructStringEncodeFunc(encode encodeFunc) encodeFunc {
243 return func(e encoder, b []byte, p unsafe.Pointer) ([]byte, error) {
244 return e.encodeToString(b, p, encode)
245 }
246}
247
248func constructStringDecodeFunc(decode decodeFunc) decodeFunc {
249 return func(d decoder, b []byte, p unsafe.Pointer) ([]byte, error) {

Callers 2

constructStringCodecFunction · 0.85
appendStructFieldsFunction · 0.85

Calls 1

encodeToStringMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…