Code
Hub
Workspaces
Connect your AI tool
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/kafka-go
/ writeString
Method
writeString
write.go:55–58 · write.go::writeBuffer.writeString
(s string)
Source
from the content-addressed store, hash-verified
53
}
54
55
func
(wb *writeBuffer) writeString(s string) {
56
wb.writeInt16(int16(len(s)))
57
wb.WriteString(s)
58
}
59
60
func
(wb *writeBuffer) writeVarString(s string) {
61
wb.writeVarInt(int64(len(s)))
Callers
15
TestReadMapStringInt32
Function · 0.95
writeNullableString
Method · 0.95
writeStringArray
Method · 0.95
write
Method · 0.95
writeFetchRequestV2
Method · 0.95
writeFetchRequestV5
Method · 0.95
writeFetchRequestV10
Method · 0.95
writeListOffsetRequestV1
Method · 0.95
writeProduceRequestV2
Method · 0.95
writeProduceRequestV3
Method · 0.95
writeProduceRequestV7
Method · 0.95
writeTo
Method · 0.45
Calls
2
writeInt16
Method · 0.95
WriteString
Method · 0.95
Tested by
2
TestReadMapStringInt32
Function · 0.76
bytes
Method · 0.36