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

Method EncodeMulti

encode.go:229–236  ·  view source on GitHub ↗
(v ...interface{})

Source from the content-addressed store, hash-verified

227}
228
229func (e *Encoder) EncodeMulti(v ...interface{}) error {
230 for _, vv := range v {
231 if err := e.Encode(vv); err != nil {
232 return err
233 }
234 }
235 return nil
236}
237
238func (e *Encoder) EncodeValue(v reflect.Value) error {
239 fn := getEncoder(v.Type())

Callers 3

EncodeMsgpackMethod · 0.80
EncodeMsgpackMethod · 0.80
EncodeMsgpackMethod · 0.80

Calls 1

EncodeMethod · 0.95

Tested by 3

EncodeMsgpackMethod · 0.64
EncodeMsgpackMethod · 0.64
EncodeMsgpackMethod · 0.64