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

Method MarshalTo

tempodb/backend/uuid.go:44–46  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

42}
43
44func (u UUID) MarshalTo(data []byte) (n int, err error) {
45 return copy(data, u[:]), nil
46}
47
48func (u *UUID) Unmarshal(data []byte) error {
49 err := ((*google_uuid.UUID)(u)).UnmarshalBinary(data)

Callers 1

Test_roundTripFunction · 0.95

Calls

no outgoing calls

Tested by 1

Test_roundTripFunction · 0.76