mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-19 16:15:07 +00:00
21 lines
454 B
C++
21 lines
454 B
C++
/*
|
|
* Copyright (C) 2024-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.1
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <seastar/core/sstring.hh>
|
|
|
|
#include "utils/mutable_view.hh"
|
|
|
|
using namespace seastar;
|
|
|
|
using bytes = basic_sstring<int8_t, uint32_t, 31, false>;
|
|
using bytes_view = std::basic_string_view<int8_t>;
|
|
using bytes_mutable_view = basic_mutable_view<bytes_view::value_type>;
|
|
using bytes_opt = std::optional<bytes>;
|