(b *scode.Builder, slot uint32)
| 30 | } |
| 31 | |
| 32 | func (a *Array) Serialize(b *scode.Builder, slot uint32) { |
| 33 | off := a.Offsets[slot] |
| 34 | b.BeginContainer() |
| 35 | for end := a.Offsets[slot+1]; off < end; off++ { |
| 36 | a.Values.Serialize(b, off) |
| 37 | } |
| 38 | b.EndContainer() |
| 39 | } |
| 40 | |
| 41 | func ContainerOffset(val Any, slot uint32) (uint32, uint32) { |
| 42 | switch val := val.(type) { |
nothing calls this directly
no test coverage detected