MCPcopy Create free account
hub / github.com/cortexproject/cortex / MarshalTo

Method MarshalTo

pkg/cortexpb/cortex.pb.go:3505–3508  ·  view source on GitHub ↗
(dAtA []byte)

Source from the content-addressed store, hash-verified

3503}
3504
3505func (m *BucketSpan) MarshalTo(dAtA []byte) (int, error) {
3506 size := m.Size()
3507 return m.MarshalToSizedBuffer(dAtA[:size])
3508}
3509
3510func (m *BucketSpan) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3511 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected