(b *buffer)
| 424 | } |
| 425 | |
| 426 | func (p *Sample) encode(b *buffer) { |
| 427 | encodeUint64s(b, 1, p.locationIDX) |
| 428 | encodeInt64s(b, 2, p.Value) |
| 429 | for _, x := range p.labelX { |
| 430 | encodeMessage(b, 3, x) |
| 431 | } |
| 432 | } |
| 433 | |
| 434 | var sampleDecoder = []decoder{ |
| 435 | nil, // 0 |
nothing calls this directly
no test coverage detected