Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/kafka-go
/ writeString
Method
writeString
protocol/encode.go:243–246 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
241
}
242
243
func
(e *encoder) writeString(s string) {
244
e.writeInt16(int16(len(s)))
245
e.WriteString(s)
246
}
247
248
func
(e *encoder) writeVarString(s string) {
249
e.writeVarInt(int64(len(s)))
Callers
2
WriteRequest
Function · 0.95
encodeString
Method · 0.95
Calls
2
writeInt16
Method · 0.95
WriteString
Method · 0.95
Tested by
no test coverage detected