Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/segmentio/encoding
/ decoderFlags
Function
decoderFlags
thrift/decode.go:88–90 ·
view source on GitHub ↗
(r Reader)
Source
from the content-addressed store, hash-verified
86
}
87
88
func
decoderFlags(r Reader) flags {
89
return
flags(r.Protocol().Features() << featuresBitOffset)
90
}
91
92
var
decoderCache atomic.Value
// map[typeID]decodeFunc
93
Callers
2
NewDecoder
Function · 0.85
Reset
Method · 0.85
Calls
3
flags
TypeAlias · 0.70
Features
Method · 0.65
Protocol
Method · 0.65
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…