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

Method Serialize

vector/array.go:32–39  ·  view source on GitHub ↗
(b *scode.Builder, slot uint32)

Source from the content-addressed store, hash-verified

30}
31
32func (a *Array) Serialize(b *scode.Builder, slot uint32) {
33 off := a.Offsets[slot]
34 b.BeginContainer()
35 for end := a.Offsets[slot+1]; off < end; off++ {
36 a.Values.Serialize(b, off)
37 }
38 b.EndContainer()
39}
40
41func ContainerOffset(val Any, slot uint32) (uint32, uint32) {
42 switch val := val.(type) {

Callers

nothing calls this directly

Calls 3

BeginContainerMethod · 0.80
EndContainerMethod · 0.80
SerializeMethod · 0.65

Tested by

no test coverage detected