Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/kafka-go
/ writeInt32Array
Method
writeInt32Array
write.go:122–124 ·
view source on GitHub ↗
(a []int32)
Source
from the content-addressed store, hash-verified
120
}
121
122
func
(wb *writeBuffer) writeInt32Array(a []int32) {
123
wb.writeArray(len(a),
func
(i int) { wb.writeInt32(a[i]) })
124
}
125
126
func
(wb *writeBuffer) write(a
interface
{}) {
127
switch
v := a.(
type
) {
Callers
5
TestReadMapStringInt32
Function · 0.95
writeTo
Method · 0.80
writeTo
Method · 0.80
writeTo
Method · 0.80
writeTo
Method · 0.80
Calls
2
writeArray
Method · 0.95
writeInt32
Method · 0.95
Tested by
1
TestReadMapStringInt32
Function · 0.76