MCPcopy
hub / github.com/ugorji/go / CodecEncodeSelf

Method CodecEncodeSelf

codec/values_codecgen_generated_test.go:132–137  ·  view source on GitHub ↗
(e *Encoder)

Source from the content-addressed store, hash-verified

130
131func (wrapString) codecSelferViaCodecgen() {}
132func (x wrapString) CodecEncodeSelf(e *Encoder) {
133 var h codecSelfer19780
134 z, r := GenHelper().Encoder(e)
135 _, _, _ = h, z, r
136 r.EncodeString(string(x))
137}
138
139func (x *wrapString) CodecDecodeSelf(d *Decoder) {
140 var h codecSelfer19780

Callers

nothing calls this directly

Calls 3

GenHelperFunction · 0.85
EncoderMethod · 0.80
EncodeStringMethod · 0.65

Tested by

no test coverage detected