25 #ifndef INCLUDED_BufferTraits_h_GUID_83FE7C11_8192_409F_7D69_FDBC57B88581
26 #define INCLUDED_BufferTraits_h_GUID_83FE7C11_8192_409F_7D69_FDBC57B88581
32 #include <boost/type_traits/is_convertible.hpp>
44 template <
typename ContainerType>
52 template <
typename ContainerType>
59 struct is_buffer : boost::is_convertible<T, detail::BufferTypeChecker> {};
64 : boost::is_convertible<T, detail::BufferReaderTypeChecker> {};
68 #endif // INCLUDED_BufferTraits_h_GUID_83FE7C11_8192_409F_7D69_FDBC57B88581
A buffer of bytes, built on a byte-vector-like container. Provides methods for easily appending to th...
Serves to provide conversion operators for things that work like BufferReaders to assist with traits/...
Type trait: is the given type a buffer?
Provides for a single reading pass over a buffer. It is important that the buffer not change while a ...
Serves to provide conversion operators for things that work like Buffers to assist with traits/static...
Type trait: is the given type a buffer reader?