()
| 18 | } |
| 19 | |
| 20 | func 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! |
no test coverage detected