mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +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);
|
|
|
|
}
|