Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brimdata/super
/ EncodeBool
Function
EncodeBool
primitive.go:25–27 ·
view source on GitHub ↗
(b bool)
Source
from the content-addressed store, hash-verified
23
}
24
25
func
EncodeBool(b bool) scode.Bytes {
26
return
AppendBool(nil, b)
27
}
28
29
func
DecodeBool(zv scode.Bytes) bool {
30
return
zv[0] != 0
Callers
6
Serialize
Method · 0.92
encodeAny
Method · 0.92
BuildPrimitive
Function · 0.92
GenValue
Function · 0.92
buildScode
Method · 0.92
Bytes
Method · 0.85
Calls
1
AppendBool
Function · 0.85
Tested by
no test coverage detected