MCPcopy Create free account
hub / github.com/dolanor/rip / newDecoder

Function newDecoder

encoding/protobuf/decoder.go:14–18  ·  view source on GitHub ↗
(r io.Reader)

Source from the content-addressed store, hash-verified

12}
13
14func newDecoder(r io.Reader) *decoder {
15 return &decoder{
16 reader: r,
17 }
18}
19
20func (d *decoder) Decode(v any) error {
21 m, ok := v.(proto.Message)

Callers 1

TestDecoder_DecodeFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestDecoder_DecodeFunction · 0.68