MCPcopy
hub / github.com/grafana/dskit / MarshalTo

Method MarshalTo

kv/memberlist/kv.pb.go:290–293  ·  view source on GitHub ↗
(dAtA []byte)

Source from the content-addressed store, hash-verified

288}
289
290func (m *KeyValueStore) MarshalTo(dAtA []byte) (int, error) {
291 size := m.Size()
292 return m.MarshalToSizedBuffer(dAtA[:size])
293}
294
295func (m *KeyValueStore) MarshalToSizedBuffer(dAtA []byte) (int, error) {
296 i := len(dAtA)

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected