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

Method Write

vector/builder.go:249–255  ·  view source on GitHub ↗
(bytes scode.Bytes)

Source from the content-addressed store, hash-verified

247}
248
249func (u *unionBuilder) Write(bytes scode.Bytes) {
250 var typ super.Type
251 typ, bytes = u.typ.Untag(bytes)
252 tag := u.typ.TagOf(typ)
253 u.values[tag].Write(bytes)
254 u.tags = append(u.tags, uint32(tag))
255}
256
257func (u *unionBuilder) Build(sctx *super.Context) Any {
258 var vecs []Any

Callers

nothing calls this directly

Calls 3

UntagMethod · 0.80
TagOfMethod · 0.80
WriteMethod · 0.65

Tested by

no test coverage detected