aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/zerocopy.h
diff options
context:
space:
mode:
authorkerzum <kerzum@yandex-team.ru>2022-02-10 16:49:33 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:33 +0300
commit9a7232babfd763ccfe827bc70e82e0f50cfd8276 (patch)
treea39808b7482c4711a80f799a7281adb36d76a13a /util/stream/zerocopy.h
parent0e68ae909d3b76a5a001a07880eb0010dec6b2ea (diff)
downloadydb-9a7232babfd763ccfe827bc70e82e0f50cfd8276.tar.gz
Restoring authorship annotation for <kerzum@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/stream/zerocopy.h')
-rw-r--r--util/stream/zerocopy.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/stream/zerocopy.h b/util/stream/zerocopy.h
index 3315aa3a51..dffe304457 100644
--- a/util/stream/zerocopy.h
+++ b/util/stream/zerocopy.h
@@ -1,9 +1,9 @@
#pragma once
-
+
#include <util/system/yassert.h>
#include <util/system/defaults.h>
#include <util/generic/ylimits.h>
-
+
#include "input.h"
class IOutputStream;
@@ -22,7 +22,7 @@ class IZeroCopyInput: public IInputStream {
public:
IZeroCopyInput() noexcept = default;
~IZeroCopyInput() override;
-
+
IZeroCopyInput(IZeroCopyInput&&) noexcept = default;
IZeroCopyInput& operator=(IZeroCopyInput&&) noexcept = default;
@@ -54,8 +54,8 @@ protected:
size_t DoSkip(size_t len) override;
ui64 DoReadAll(IOutputStream& out) override;
virtual size_t DoNext(const void** ptr, size_t len) = 0;
-};
-
+};
+
/**
* Input stream with direct access to the input buffer and ability to undo read
*