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

Struct testDec

msgp/iter_test.go:445–448  ·  view source on GitHub ↗

A decodable type to exercise the default branch of ReadArray.

Source from the content-addressed store, hash-verified

443
444// A decodable type to exercise the default branch of ReadArray.
445type testDec struct {
446 A int
447 B string
448}
449
450func (t *testDec) MarshalMsg(i []byte) ([]byte, error) {
451 i = AppendInt(i, t.A)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected