MCPcopy
hub / github.com/segmentio/kafka-go / setCRC

Method setCRC

protocol/encode.go:99–101  ·  view source on GitHub ↗
(table *crc32.Table)

Source from the content-addressed store, hash-verified

97}
98
99func (e *encoder) setCRC(table *crc32.Table) {
100 e.table, e.crc32 = table, 0
101}
102
103func (e *encoder) update(b []byte) {
104 if e.table != nil {

Callers 1

writeToVersion1Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected