| 60 | var _ baseCodec = codecV0Bridge{} |
| 61 | |
| 62 | type codecV0Bridge struct { |
| 63 | codec interface { |
| 64 | Marshal(v any) ([]byte, error) |
| 65 | Unmarshal(data []byte, v any) error |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | func (c codecV0Bridge) Marshal(v any) (mem.BufferSlice, error) { |
| 70 | data, err := c.codec.Marshal(v) |
nothing calls this directly
no outgoing calls
no test coverage detected