(v any)
| 92 | } |
| 93 | |
| 94 | func (c *errProtoCodec) Marshal(v any) (mem.BufferSlice, error) { |
| 95 | if c.encodingErr != nil { |
| 96 | return nil, c.encodingErr |
| 97 | } |
| 98 | return encoding.GetCodecV2(proto.Name).Marshal(v) |
| 99 | } |
| 100 | |
| 101 | func (c *errProtoCodec) Unmarshal(data mem.BufferSlice, v any) error { |
| 102 | if c.decodingErr != nil { |
nothing calls this directly
no test coverage detected