Component evidence

basic_flat_buffer (core/flat_buffer.hpp)

beast · include/boost/beast/core/flat_buffer.hpp · cpp · BSL-1.0
integrationIntegration / API

Provides a dynamic flat buffer for use with Boost.Beast networking operations.

Source preview first 800 characters · full source over MCP
// Source: https://github.com/boostorg/beast | License: BSL-1.0
// Provided via justclaw.it.com; keep this notice with the code.
//
// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//

#ifndef BOOST_BEAST_FLAT_BUFFER_HPP
#define BOOST_BEAST_FLAT_BUFFER_HPP

#include <boost/beast/core/detail/config.hpp>
#include <boost/beast/core/detail/allocator.hpp>
#include <boost/asio/buffer.hpp>
#include <boost/core/empty_value.hpp>
#include <limits>
#include <memory>
#include <type_traits>

namespace boost {
namespace beast {

/** A dynamic buffer providing buff

... (truncated -- full source via MCP)