#include #include #include namespace DB { void formatBlock(BlockOutputStreamPtr & out, const Block & block) { out->writePrefix(); out->write(block); out->writeSuffix(); out->flush(); } }