MCPcopy
hub / github.com/tinylib/msgp / EncodeMsg

Method EncodeMsg

msgp/iter_test.go:467–472  ·  view source on GitHub ↗
(w *Writer)

Source from the content-addressed store, hash-verified

465}
466
467func (t *testDec) EncodeMsg(w *Writer) error {
468 if err := w.WriteInt(t.A); err != nil {
469 return err
470 }
471 return w.WriteString(t.B)
472}
473
474func (t *testDec) DecodeMsg(r *Reader) error {
475 var err error

Callers

nothing calls this directly

Calls 2

WriteIntMethod · 0.80
WriteStringMethod · 0.65

Tested by

no test coverage detected