MCPcopy 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
39func (d *dumpState) writeBool(b bool) {
40 if b {
41 d.writeByte(1)
42 } else {
43 d.writeByte(0)
44 }
45}
46
47func (d *dumpState) writeNumber(f float64) {
48 d.write(f)

Callers 3

writeConstantsMethod · 0.95
writeUpvaluesMethod · 0.95
dumpFunctionMethod · 0.95

Calls 1

writeByteMethod · 0.95

Tested by

no test coverage detected