Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brimdata/super
/ NewIntEncoder
Function
NewIntEncoder
csup/int.go:20–24 ·
view source on GitHub ↗
(typ super.Type)
Source
from the content-addressed store, hash-verified
18
}
19
20
func
NewIntEncoder(typ super.Type) *IntEncoder {
21
return
&IntEncoder{
22
typ: typ,
23
}
24
}
25
26
func
(i *IntEncoder) Write(vec vector.Any) {
27
if
vec.Len() == 0 {
Callers
1
NewPrimitiveEncoder
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected