MCPcopy
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
133func (d *decoder) discardAll() {
134 d.discard(d.remain)
135}
136
137func (d *decoder) discard(n int) {
138 if n > d.remain {

Callers 5

ReadRequestFunction · 0.95
setErrorMethod · 0.95
ReadResponseFunction · 0.95
ReadFromMethod · 0.80
readFromVersion2Method · 0.80

Calls 1

discardMethod · 0.95

Tested by

no test coverage detected