stackable
(in pushEncoder)
| 176 | // stackable |
| 177 | |
| 178 | func (pe *prepEncoder) push(in pushEncoder) { |
| 179 | in.saveOffset(pe.length) |
| 180 | pe.length += in.reserveLength() |
| 181 | pe.stack = append(pe.stack, in) |
| 182 | } |
| 183 | |
| 184 | func (pe *prepEncoder) pop() error { |
| 185 | in := pe.stack[len(pe.stack)-1] |
nothing calls this directly
no test coverage detected