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

Method writeInt64

crc32.go:33–36  ·  view source on GitHub ↗
(i int64)

Source from the content-addressed store, hash-verified

31}
32
33func (w *crc32Writer) writeInt64(i int64) {
34 binary.BigEndian.PutUint64(w.buffer[:8], uint64(i))
35 w.update(w.buffer[:8])
36}
37
38func (w *crc32Writer) writeBytes(b []byte) {
39 n := len(b)

Callers 15

writeRecordBatchMethod · 0.95
bytesMethod · 0.45
bytesMethod · 0.45
bytesMethod · 0.45
bytesMethod · 0.45
crc32Method · 0.45
writeToMethod · 0.45
writeToMethod · 0.45
writeToMethod · 0.45
writeToMethod · 0.45
writeToMethod · 0.45
writeToMethod · 0.45

Calls 1

updateMethod · 0.95

Tested by 4

bytesMethod · 0.36
bytesMethod · 0.36
bytesMethod · 0.36
bytesMethod · 0.36