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

Function NewDynamicEncoder

csup/dynamic.go:20–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18}
19
20func NewDynamicEncoder() *DynamicEncoder {
21 return &DynamicEncoder{
22 cctx: NewContext(),
23 which: make(map[super.Type]uint32),
24 }
25}
26
27// The dynamic encoder self-organizes around the types that are
28// written to it. No need to define the schema up front!

Callers 2

NewSerializerFunction · 0.85
finalizeObjectMethod · 0.85

Calls 1

NewContextFunction · 0.70

Tested by

no test coverage detected