MCPcopy Index your code
hub / github.com/vmihailenco/msgpack / encodeSliceValue

Function encodeSliceValue

encode_slice.go:121–126  ·  view source on GitHub ↗
(e *Encoder, v reflect.Value)

Source from the content-addressed store, hash-verified

119}
120
121func encodeSliceValue(e *Encoder, v reflect.Value) error {
122 if v.IsNil() {
123 return e.EncodeNil()
124 }
125 return encodeArrayValue(e, v)
126}
127
128func encodeArrayValue(e *Encoder, v reflect.Value) error {
129 l := v.Len()

Callers

nothing calls this directly

Calls 2

encodeArrayValueFunction · 0.85
EncodeNilMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…