MCPcopy
hub / github.com/prometheus/prometheus / Byte

Method Byte

tsdb/encoding/encoding.go:281–292  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

279}
280
281func (d *Decbuf) Byte() byte {
282 if d.E != nil {
283 return 0
284 }
285 if len(d.B) < 1 {
286 d.E = ErrInvalidSize
287 return 0
288 }
289 x := d.B[0]
290 d.B = d.B[1:]
291 return x
292}
293
294func (d *Decbuf) ConsumePadding() {
295 if d.E != nil {

Callers 15

SeriesMethod · 0.95
MetadataMethod · 0.95
SamplesMethod · 0.95
TombstonesMethod · 0.95
ExemplarsMethod · 0.95
MmapMarkersMethod · 0.95
HistogramSamplesMethod · 0.95
FloatHistogramSamplesMethod · 0.95
DecodeFunction · 0.95

Calls

no outgoing calls