Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
88
func
(f ParseFlags) kind() Kind {
89
return
Kind((f >> kindOffset) & 0xFF)
90
}
91
92
func
(f ParseFlags) withKind(kind Kind) ParseFlags {
93
return
(f & ^(ParseFlags(0xFF) << kindOffset)) | (ParseFlags(kind) << kindOffset)
Callers
3
Kind
Method · 0.80
Bool
Method · 0.80
String
Method · 0.80
Calls
1
Kind
TypeAlias · 0.70
Tested by
no test coverage detected