aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/length.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /util/stream/length.h
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'util/stream/length.h')
-rw-r--r--util/stream/length.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/util/stream/length.h b/util/stream/length.h
index 4d508ae24d..fd7aa18799 100644
--- a/util/stream/length.h
+++ b/util/stream/length.h
@@ -22,7 +22,7 @@ public:
~TLengthLimitedInput() override = default;
- inline ui64 Left() const noexcept {
+ inline ui64 Left() const noexcept {
return Length_;
}
@@ -52,14 +52,14 @@ public:
* \returns The total number of characters read from
* this stream.
*/
- inline ui64 Counter() const noexcept {
+ inline ui64 Counter() const noexcept {
return Count_;
}
private:
size_t DoRead(void* buf, size_t len) override;
size_t DoSkip(size_t len) override;
- size_t DoReadTo(TString& st, char ch) override;
+ size_t DoReadTo(TString& st, char ch) override;
ui64 DoReadAll(IOutputStream& out) override;
private:
@@ -80,14 +80,14 @@ public:
~TCountingOutput() override = default;
- TCountingOutput(TCountingOutput&&) noexcept = default;
- TCountingOutput& operator=(TCountingOutput&&) noexcept = default;
-
+ TCountingOutput(TCountingOutput&&) noexcept = default;
+ TCountingOutput& operator=(TCountingOutput&&) noexcept = default;
+
/**
* \returns The total number of characters written
* into this stream.
*/
- inline ui64 Counter() const noexcept {
+ inline ui64 Counter() const noexcept {
return Count_;
}