Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/segmentio/encoding
/ encoderFlags
Function
encoderFlags
thrift/encode.go:57–59 ·
view source on GitHub ↗
(w Writer)
Source
from the content-addressed store, hash-verified
55
}
56
57
func
encoderFlags(w Writer) flags {
58
return
flags(w.Protocol().Features() << featuresBitOffset)
59
}
60
61
var
encoderCache atomic.Value
// map[typeID]encodeFunc
62
Callers
2
NewEncoder
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…