Bytes returns the constructed value. It panics if the receiver has an open container.
()
| 126 | // Bytes returns the constructed value. It panics if the receiver has an open |
| 127 | // container. |
| 128 | func (b *Builder) Bytes() Bytes { |
| 129 | if len(b.containers) > 0 { |
| 130 | panic("open container") |
| 131 | } |
| 132 | return b.bytes |
| 133 | } |
no outgoing calls