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

Method kind

json/json.go:88–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86}
87
88func (f ParseFlags) kind() Kind {
89 return Kind((f >> kindOffset) & 0xFF)
90}
91
92func (f ParseFlags) withKind(kind Kind) ParseFlags {
93 return (f & ^(ParseFlags(0xFF) << kindOffset)) | (ParseFlags(kind) << kindOffset)

Callers 3

KindMethod · 0.80
BoolMethod · 0.80
StringMethod · 0.80

Calls 1

KindTypeAlias · 0.70

Tested by

no test coverage detected