#include #include #include "debug.h" namespace xstream { static const size_t buffer_size = 4*1024; static const size_t out_buffer_size = static_cast < size_t > (buffer_size * 1.02 + 12); //see manual buffer::buffer(const size_t s) :buf(0),size(0) { LOG("buffer::buffer ("<