1#ifndef BYTE_BUFFER_SINK_HPP_XQSBHPDQ
2#define BYTE_BUFFER_SINK_HPP_XQSBHPDQ
4#include <vanetza/common/byte_buffer.hpp>
5#include <boost/iostreams/categories.hpp>
14 typedef char char_type;
15 typedef boost::iostreams::sink_tag category;
16 static_assert(
sizeof(char_type) ==
sizeof(ByteBuffer::value_type),
17 "size mismatch of char_type and ByteBuffer::value_type");
20 std::streamsize write(
const char_type* s, std::streamsize n);