1#include <IO/WriteBufferFromFileBase.h>
2
3namespace DB
4{
5
6WriteBufferFromFileBase::WriteBufferFromFileBase(size_t buf_size, char * existing_memory, size_t alignment)
7 : BufferWithOwnMemory<WriteBuffer>(buf_size, existing_memory, alignment)
8{
9}
10
11off_t WriteBufferFromFileBase::seek(off_t off, int whence)
12{
13 return doSeek(off, whence);
14}
15
16void WriteBufferFromFileBase::truncate(off_t length)
17{
18 return doTruncate(length);
19}
20
21}
22