Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
14
func
newDecoder(r io.Reader) *decoder {
15
return
&decoder{
16
reader: r,
17
}
18
}
19
20
func
(d *decoder) Decode(v any) error {
21
m, ok := v.(proto.Message)
Callers
1
TestDecoder_Decode
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestDecoder_Decode
Function · 0.68