Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/kafka-go
/ discardAll
Method
discardAll
protocol/decode.go:133–135 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
131
}
132
133
func
(d *decoder) discardAll() {
134
d.discard(d.remain)
135
}
136
137
func
(d *decoder) discard(n int) {
138
if
n > d.remain {
Callers
5
ReadRequest
Function · 0.95
setError
Method · 0.95
ReadResponse
Function · 0.95
ReadFrom
Method · 0.80
readFromVersion2
Method · 0.80
Calls
1
discard
Method · 0.95
Tested by
no test coverage detected