MCPcopy
hub / github.com/vmihailenco/msgpack / EncodeValue

Method EncodeValue

encode.go:238–241  ·  view source on GitHub ↗
(v reflect.Value)

Source from the content-addressed store, hash-verified

236}
237
238func (e *Encoder) EncodeValue(v reflect.Value) error {
239 fn := getEncoder(v.Type())
240 return fn(e, v)
241}
242
243func (e *Encoder) EncodeNil() error {
244 return e.writeCode(msgpcode.Nil)

Callers 1

EncodeMethod · 0.95

Calls 1

getEncoderFunction · 0.85

Tested by

no test coverage detected