(t *tempopb.Trace)
| 67 | } |
| 68 | |
| 69 | func (d *ObjectDecoder) Marshal(t *tempopb.Trace) ([]byte, error) { |
| 70 | traceBytes := &tempopb.TraceBytes{} |
| 71 | bytes, err := proto.Marshal(t) |
| 72 | if err != nil { |
| 73 | return nil, err |
| 74 | } |
| 75 | |
| 76 | traceBytes.Traces = append(traceBytes.Traces, bytes) |
| 77 | |
| 78 | return proto.Marshal(traceBytes) |
| 79 | } |
no test coverage detected