(b *scode.Builder, slot uint32)
| 33 | } |
| 34 | |
| 35 | func (u *Union) Serialize(b *scode.Builder, slot uint32) { |
| 36 | tag := u.Typ.TagOf(u.TypeOf(slot)) |
| 37 | super.BeginUnion(b, tag) |
| 38 | u.Dynamic.Serialize(b, slot) |
| 39 | b.EndContainer() |
| 40 | } |
| 41 | |
| 42 | func Deunion(vec Any) Any { |
| 43 | if u, ok := vec.(*Union); ok { |
nothing calls this directly
no test coverage detected