Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/kafka-go
/ writeBool
Method
writeBool
write.go:92–98 ·
view source on GitHub ↗
(b bool)
Source
from the content-addressed store, hash-verified
90
}
91
92
func
(wb *writeBuffer) writeBool(b bool) {
93
v := int8(0)
94
if
b {
95
v = 1
96
}
97
wb.writeInt8(v)
98
}
99
100
func
(wb *writeBuffer) writeArrayLen(n int) {
101
wb.writeInt32(int32(n))
Callers
5
write
Method · 0.95
writeTo
Method · 0.80
writeTo
Method · 0.80
writeTo
Method · 0.80
writeTo
Method · 0.80
Calls
1
writeInt8
Method · 0.95
Tested by
no test coverage detected