()
| 136 | } |
| 137 | |
| 138 | func (d *Decoder) Reset() { |
| 139 | // Retain slice capacity |
| 140 | d.req.Ids = d.req.Ids[:0] |
| 141 | d.req.Traces = d.req.Traces[:0] |
| 142 | d.req.SkipMetricsGeneration = false |
| 143 | } |
| 144 | |
| 145 | // sovPush calculates the size of varint-encoded uint64. |
| 146 | // It is used to determine the number of bytes needed to encode an uint64 value |
no outgoing calls