(v any)
| 276 | } |
| 277 | |
| 278 | func (p *countingProtoCodec) Marshal(v any) (mem.BufferSlice, error) { |
| 279 | atomic.AddInt32(&p.marshalCount, 1) |
| 280 | return encoding.GetCodecV2(proto.Name).Marshal(v) |
| 281 | } |
| 282 | |
| 283 | func (p *countingProtoCodec) Unmarshal(data mem.BufferSlice, v any) error { |
| 284 | atomic.AddInt32(&p.unmarshalCount, 1) |
nothing calls this directly
no test coverage detected