Drop the AGPL license in favor of a source-available license. See the blog post [1] for details. [1] https://www.scylladb.com/2024/12/18/why-were-moving-to-a-source-available-license/
21 lines
454 B
C++
21 lines
454 B
C++
/*
|
|
* Copyright (C) 2024-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
|
|
*/
|
|
|
|
#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>;
|