Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/kafka-go
/ Bytes
Method
Bytes
protocol/record.go:127–127 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
125
// through calls to Bytes.
126
type
bytesBuffer
interface
{
127
Bytes() []byte
128
}
129
130
// magicByteOffset is the position of the magic byte in all versions of record
Callers
15
TestMessageCRC32
Function · 0.65
TestReaderTruncatedResponse
Function · 0.65
Bytes
Method · 0.65
mustCompress
Function · 0.65
TestMessageFixtures
Function · 0.65
readMessageV1
Method · 0.65
BenchmarkReadVarInt
Function · 0.65
TestWriteVarInt
Function · 0.65
testWriteOptimization
Function · 0.65
bytes
Method · 0.65
writeTo
Method · 0.65
BenchmarkSyncGroupResponseV0
Function · 0.65
Implementers
1
kafkaWriteBuffer
builder_test.go
Calls
no outgoing calls
Tested by
15
TestMessageCRC32
Function · 0.52
TestReaderTruncatedResponse
Function · 0.52
Bytes
Method · 0.52
mustCompress
Function · 0.52
TestMessageFixtures
Function · 0.52
BenchmarkReadVarInt
Function · 0.52
TestWriteVarInt
Function · 0.52
testWriteOptimization
Function · 0.52
BenchmarkSyncGroupResponseV0
Function · 0.52
TestEncodeDecodeFlexibleType
Function · 0.52
TestVarInts
Function · 0.52
TestFloat64
Function · 0.52