Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/kafka-go
/ String
Function
String
protocol/prototest/bytes.go:13–15 ·
view source on GitHub ↗
String constructs a Bytes which exposes the content of s.
(s string)
Source
from the content-addressed store, hash-verified
11
12
// String constructs a Bytes which exposes the content of s.
13
func
String(s string) protocol.Bytes {
14
return
protocol.NewBytes([]byte(s))
15
}
Callers
6
TestFetchResponse
Function · 0.92
BenchmarkFetchResponse
Function · 0.92
TestProduceRequest
Function · 0.92
BenchmarkProduceRequest
Function · 0.92
TestRawProduceRequest
Function · 0.92
BenchmarkProduceRequest
Function · 0.92
Calls
1
NewBytes
Function · 0.92
Tested by
6
TestFetchResponse
Function · 0.74
BenchmarkFetchResponse
Function · 0.74
TestProduceRequest
Function · 0.74
BenchmarkProduceRequest
Function · 0.74
TestRawProduceRequest
Function · 0.74
BenchmarkProduceRequest
Function · 0.74