6#include <bond/core/config.h>
9#include <bond/core/detail/mpl.h>
11#include <boost/static_assert.hpp>
31 void Read(
void *buffer, uint32_t size);
37 void Skip(std::uint32_t size);
53template <
typename InputBuffer>
54[[noreturn]]
inline blob GetCurrentBuffer(
const InputBuffer& )
56 BOOST_STATIC_ASSERT_MSG(
57 detail::mpl::always_false<InputBuffer>::value,
58 "GetCurrentBuffer is undefined.");
68template <
typename Blob>
69[[noreturn]]
inline Blob GetBufferRange(
const Blob& ,
const Blob& )
71 BOOST_STATIC_ASSERT_MSG(
72 detail::mpl::always_false<Blob>::value,
73 "GetBufferRange is undefined.");
87 void Write(
const T& value);
90 void Write(
const void* value, uint32_t size);
108template <
typename OutputBuffer>
111 BOOST_STATIC_ASSERT_MSG(
112 detail::mpl::always_false<OutputBuffer>::value,
113 "CreateOutputBuffer is undefined.");
Memory blob.
Definition: blob.h:24
namespace bond
Definition: apply.h:17
OutputMemoryStream OutputBuffer
Type alias for memory backed output stream using std::allocator.
Definition: output_buffer.h:386