blob: 3b7f486c458ce4fcf4c210d498437c2e12c5b787 [file] [log] [blame]
// Copyright 2022 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_DEVELOPER_FORENSICS_FEEDBACK_ANNOTATIONS_ENCODE_H_
#define SRC_DEVELOPER_FORENSICS_FEEDBACK_ANNOTATIONS_ENCODE_H_
#include <fuchsia/feedback/cpp/fidl.h>
#include "src/developer/forensics/feedback/annotations/types.h"
namespace forensics::feedback {
// Returns |annotations| serialize as a certain type.
template <typename T>
T Encode(const Annotations& annotations);
} // namespace forensics::feedback
#endif // SRC_DEVELOPER_FORENSICS_FEEDBACK_ANNOTATIONS_ENCODE_H_