Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/kafka-go
/ writeInt8
Method
writeInt8
crc32.go:18–21 ·
view source on GitHub ↗
(i int8)
Source
from the content-addressed store, hash-verified
16
}
17
18
func
(w *crc32Writer) writeInt8(i int8) {
19
w.buffer[0] = byte(i)
20
w.update(w.buffer[:1])
21
}
22
23
func
(w *crc32Writer) writeInt16(i int16) {
24
binary.BigEndian.PutUint16(w.buffer[:2], uint16(i))
Callers
5
bytes
Method · 0.45
bytes
Method · 0.45
bytes
Method · 0.45
crc32
Method · 0.45
writeTo
Method · 0.45
Calls
1
update
Method · 0.95
Tested by
3
bytes
Method · 0.36
bytes
Method · 0.36
bytes
Method · 0.36