BuildUnion appends to b a union described by tag and val.
(b *scode.Builder, tag int, val scode.Bytes)
| 397 | |
| 398 | // BuildUnion appends to b a union described by tag and val. |
| 399 | func BuildUnion(b *scode.Builder, tag int, val scode.Bytes) { |
| 400 | BeginUnion(b, tag) |
| 401 | b.Append(val) |
| 402 | b.EndContainer() |
| 403 | } |
| 404 | |
| 405 | func BeginUnion(b *scode.Builder, tag int) { |
| 406 | b.BeginContainer() |
no test coverage detected