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

Method Serialize

vector/map.go:33–42  ·  view source on GitHub ↗
(b *scode.Builder, slot uint32)

Source from the content-addressed store, hash-verified

31}
32
33func (m *Map) Serialize(b *scode.Builder, slot uint32) {
34 off := m.Offsets[slot]
35 b.BeginContainer()
36 for end := m.Offsets[slot+1]; off < end; off++ {
37 m.Keys.Serialize(b, off)
38 m.Values.Serialize(b, off)
39 }
40 b.TransformContainer(super.NormalizeMap)
41 b.EndContainer()
42}

Callers

nothing calls this directly

Calls 4

BeginContainerMethod · 0.80
TransformContainerMethod · 0.80
EndContainerMethod · 0.80
SerializeMethod · 0.65

Tested by

no test coverage detected