MCPcopy 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
57func encoderFlags(w Writer) flags {
58 return flags(w.Protocol().Features() << featuresBitOffset)
59}
60
61var encoderCache atomic.Value // map[typeID]encodeFunc
62

Callers 2

NewEncoderFunction · 0.85
ResetMethod · 0.85

Calls 3

flagsTypeAlias · 0.70
FeaturesMethod · 0.65
ProtocolMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…