MCPcopy
hub / github.com/IBM/sarama / newCRC32Field

Function newCRC32Field

crc32_field.go:49–51  ·  view source on GitHub ↗
(polynomial crcPolynomial)

Source from the content-addressed store, hash-verified

47}
48
49func newCRC32Field(polynomial crcPolynomial) *crc32Field {
50 return &crc32Field{polynomial: polynomial}
51}
52
53func (c *crc32Field) run(curOffset int, buf []byte) error {
54 crc, err := c.crc(curOffset, buf)

Callers 3

encodeMethod · 0.85
encodeMethod · 0.85
acquireCrc32FieldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected