mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
19 lines
357 B
C++
19 lines
357 B
C++
#pragma once
|
|
|
|
#include <DB/IO/ReadBuffer.h>
|
|
#include <DB/IO/WriteBuffer.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/** Копирует данные из ReadBuffer в WriteBuffer
|
|
*/
|
|
void copyData(ReadBuffer & from, WriteBuffer & to);
|
|
|
|
/** Копирует bytes байт из ReadBuffer в WriteBuffer
|
|
*/
|
|
void copyData(ReadBuffer & from, WriteBuffer & to, size_t bytes);
|
|
|
|
}
|