MCPcopy
hub / github.com/prometheus/prometheus / Skip

Method Skip

tsdb/encoding/encoding.go:190–196  ·  view source on GitHub ↗
(l int)

Source from the content-addressed store, hash-verified

188}
189
190func (d *Decbuf) Skip(l int) {
191 if len(d.B) < l {
192 d.E = ErrInvalidSize
193 return
194 }
195 d.B = d.B[l:]
196}
197
198func (d *Decbuf) UvarintStr() string {
199 return string(d.UvarintBytes())

Calls

no outgoing calls