MCPcopy Create free account
hub / github.com/brimdata/super / newBuffer

Function newBuffer

db/api/api.go:225–229  ·  view source on GitHub ↗
(types ...any)

Source from the content-addressed store, hash-verified

223var _ sio.Writer = (*buffer)(nil)
224
225func newBuffer(types ...any) *buffer {
226 u := sup.NewBSUPUnmarshaler()
227 u.Bind(types...)
228 return &buffer{unmarshaler: u}
229}
230
231func (b *buffer) Push(vec vector.Any) error {
232 return sbuf.WriteVec(b, vec)

Callers 6

LookupPoolByNameFunction · 0.70
GetPoolsFunction · 0.70
LookupPoolByIDFunction · 0.70
LookupBranchByNameFunction · 0.70
LookupBranchByIDFunction · 0.70
GetCommitFunction · 0.70

Calls 2

NewBSUPUnmarshalerFunction · 0.92
BindMethod · 0.45

Tested by

no test coverage detected