(s *Slice)
| 331 | } |
| 332 | |
| 333 | func (e *encodeGen) gSlice(s *Slice) { |
| 334 | if !e.p.ok() { |
| 335 | return |
| 336 | } |
| 337 | e.fuseHook() |
| 338 | e.writeAndCheckWithArrayLimit(arrayHeader, lenAsUint32, s.Varname()) |
| 339 | setTypeParams(s.Els, s.typeParams) |
| 340 | e.p.rangeBlock(e.ctx, s.Index, s.Varname(), e, s.Els) |
| 341 | } |
| 342 | |
| 343 | func (e *encodeGen) gArray(a *Array) { |
| 344 | if !e.p.ok() { |
nothing calls this directly
no test coverage detected