mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Move byte_buffer types from cluster and storage into util
This commit is contained in:
parent
40b75cb809
commit
1169fcf2a2
15 changed files with 59 additions and 70 deletions
|
@ -104,6 +104,8 @@ template<typename E>
|
|||
using unexpected = nonstd::unexpected<E>;
|
||||
} // namespace zeek
|
||||
|
||||
#include "zeek/Span.h"
|
||||
|
||||
using zeek_int_t = int64_t;
|
||||
using zeek_uint_t = uint64_t;
|
||||
|
||||
|
@ -119,6 +121,10 @@ namespace zeek {
|
|||
class ODesc;
|
||||
class RecordVal;
|
||||
|
||||
// Byte buffer types used by serialization code in storage and cluster.
|
||||
using byte_buffer = std::vector<std::byte>;
|
||||
using byte_buffer_span = Span<const std::byte>;
|
||||
|
||||
namespace util {
|
||||
namespace detail {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue