MCPcopy Create free account
hub / github.com/segmentio/encoding / makeFlags

Method makeFlags

proto/struct.go:48–50  ·  view source on GitHub ↗
(base flags)

Source from the content-addressed store, hash-verified

46}
47
48func (f *structField) makeFlags(base flags) flags {
49 return base | flags(f.flags&zigzag)
50}
51
52func structCodecOf(t reflect.Type, seen map[reflect.Type]*codec) *codec {
53 c := &codec{wire: varlen}

Callers 3

structSizeFuncOfFunction · 0.80
structEncodeFuncOfFunction · 0.80
structDecodeFuncOfFunction · 0.80

Calls 1

flagsTypeAlias · 0.70

Tested by

no test coverage detected