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

Function encodeStringValue

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

Source from the content-addressed store, hash-verified

10var stringSliceType = reflect.TypeOf(([]string)(nil))
11
12func encodeStringValue(e *Encoder, v reflect.Value) error {
13 return e.EncodeString(v.String())
14}
15
16func encodeByteSliceValue(e *Encoder, v reflect.Value) error {
17 return e.EncodeBytes(v.Bytes())

Callers

nothing calls this directly

Calls 2

EncodeStringMethod · 0.80
StringMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…