blob: 515c0bfe32ff381503ca12cb6f8218ea4f38da82 [file] [log] [blame]
Austin Schuh8a399de2024-06-05 10:46:23 -07001#ifndef AOS_SHARED_SPAN_H_
2#define AOS_SHARED_SPAN_H_
3
4#include <cstdint>
5#include <memory>
6
7#include "absl/types/span.h"
8
9namespace aos {
10
11// Shared pointer to a region of memory. The pointer needs to own the region.
12using SharedSpan = std::shared_ptr<const absl::Span<const uint8_t>>;
13
14} // namespace aos
15
16#endif // AOS_SHARED_SPAN_H_