(cctx *Context, typ *super.TypeSet)
| 70 | } |
| 71 | |
| 72 | func NewSetEncoder(cctx *Context, typ *super.TypeSet) *SetEncoder { |
| 73 | return &SetEncoder{ |
| 74 | ArrayEncoder{ |
| 75 | typ: typ.Type, |
| 76 | values: NewEncoder(cctx, typ.Type), |
| 77 | offsets: newOffsetsEncoder(), |
| 78 | }, |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | func (s *SetEncoder) Metadata(cctx *Context, off uint64) (uint64, ID) { |
| 83 | off, id := s.ArrayEncoder.Metadata(cctx, off) |
no test coverage detected