Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/kafka-go
/ varBytesLen
Function
varBytesLen
write.go:577–579 ·
view source on GitHub ↗
(b []byte)
Source
from the content-addressed store, hash-verified
575
}
576
577
func
varBytesLen(b []byte) int {
578
return
varIntLen(int64(len(b))) + len(b)
579
}
580
581
func
varStringLen(s string) int {
582
return
varIntLen(int64(len(s))) + len(s)
Callers
2
headerSize
Method · 0.85
recordSize
Function · 0.85
Calls
1
varIntLen
Function · 0.85
Tested by
no test coverage detected