OGLplus  (0.59.0) a C++ wrapper for rendering APIs

size_and_data.hpp File Reference

Go to the source code of this file.

Namespaces

 eagine
 Common code is placed in this namespace.
 

Functions

static auto eagine::store_data_with_size (memory::const_block src, memory::block dst) noexcept -> memory::block
 Encodes the size of the source block into destination, copies data afterwards. More...
 
static auto eagine::skip_data_with_size (memory::const_block src) noexcept -> span_size_t
 In a block starting with sub-block with size returns the size of the sub-block. More...
 
static auto eagine::get_data_with_size (memory::block src) noexcept -> memory::block
 Extracts a sub-block from a larger mutable block with encoded sub-block size. More...
 
static auto eagine::get_data_with_size (memory::const_block src) noexcept -> memory::const_block
 Extracts a sub-block from a larger const block with encoded sub-block size. More...
 
template<typename Function >
static void eagine::for_each_data_with_size (memory::const_block src, Function function) noexcept
 In a larger block with sub-blocks with size, calls function on each sub-block. More...
 

Detailed Description

Copyright Matus Chochlik. 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


Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).