blob: 515c0bfe32ff381503ca12cb6f8218ea4f38da82 [file] [log] [blame]
#ifndef AOS_SHARED_SPAN_H_
#define AOS_SHARED_SPAN_H_
#include <cstdint>
#include <memory>
#include "absl/types/span.h"
namespace aos {
// Shared pointer to a region of memory. The pointer needs to own the region.
using SharedSpan = std::shared_ptr<const absl::Span<const uint8_t>>;
} // namespace aos
#endif // AOS_SHARED_SPAN_H_