Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Shopify/go-lua
/ writeBool
Method
writeBool
dump.go:39–45 ·
view source on GitHub ↗
(b bool)
Source
from the content-addressed store, hash-verified
37
}
38
39
func
(d *dumpState) writeBool(b bool) {
40
if
b {
41
d.writeByte(1)
42
}
else
{
43
d.writeByte(0)
44
}
45
}
46
47
func
(d *dumpState) writeNumber(f float64) {
48
d.write(f)
Callers
3
writeConstants
Method · 0.95
writeUpvalues
Method · 0.95
dumpFunction
Method · 0.95
Calls
1
writeByte
Method · 0.95
Tested by
no test coverage detected