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