MCPcopy
hub / github.com/grafana/tempo / Marshal

Method Marshal

tempodb/backend/v1.pb.go:450–458  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

448}
449
450func (m *CompactedBlockMeta) Marshal() (dAtA []byte, err error) {
451 size := m.Size()
452 dAtA = make([]byte, size)
453 n, err := m.MarshalToSizedBuffer(dAtA[:size])
454 if err != nil {
455 return nil, err
456 }
457 return dAtA[:n], nil
458}
459
460func (m *CompactedBlockMeta) MarshalTo(dAtA []byte) (int, error) {
461 size := m.Size()

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.95
MarshalToSizedBufferMethod · 0.95

Tested by

no test coverage detected