(e *Encoder)
| 8216 | |
| 8217 | func (testMammoth2Json) codecSelferViaCodecgen() {} |
| 8218 | func (x testMammoth2Json) CodecEncodeSelf(e *Encoder) { |
| 8219 | var h codecSelfer19781 |
| 8220 | z, r := GenHelper().Encoder(e) |
| 8221 | _, _, _ = h, z, r |
| 8222 | if !z.EncBinary() && z.IsJSONHandle() { |
| 8223 | z.EncJSONMarshal(x) |
| 8224 | } else { |
| 8225 | r.EncodeUint(uint64(x)) |
| 8226 | } |
| 8227 | } |
| 8228 | |
| 8229 | func (x *testMammoth2Json) CodecDecodeSelf(d *Decoder) { |
| 8230 | var h codecSelfer19781 |
nothing calls this directly
no test coverage detected