(cctx *Context, off uint64)
| 56 | } |
| 57 | |
| 58 | func (a *ArrayEncoder) Metadata(cctx *Context, off uint64) (uint64, ID) { |
| 59 | off, lens := a.offsets.Segment(off) |
| 60 | off, vals := a.values.Metadata(cctx, off) |
| 61 | return off, cctx.enter(&Array{ |
| 62 | Length: a.count, |
| 63 | Lengths: lens, |
| 64 | Values: vals, |
| 65 | }) |
| 66 | } |
| 67 | |
| 68 | type SetEncoder struct { |
| 69 | ArrayEncoder |