diff options
author | mironov <mironov@yandex-team.ru> | 2022-02-10 16:49:44 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:44 +0300 |
commit | ceabccd128eb94ed6566936fcab2093ec62aa84a (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/stream | |
parent | 139799acc0d1251c94200128757ef38926775ab3 (diff) | |
download | ydb-ceabccd128eb94ed6566936fcab2093ec62aa84a.tar.gz |
Restoring authorship annotation for <mironov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/stream')
-rw-r--r-- | util/stream/buffer.h | 2 | ||||
-rw-r--r-- | util/stream/input.h | 10 | ||||
-rw-r--r-- | util/stream/mem.h | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/util/stream/buffer.h b/util/stream/buffer.h index f4d2af8e2c..9dc99dbe49 100644 --- a/util/stream/buffer.h +++ b/util/stream/buffer.h @@ -39,7 +39,7 @@ public: TBufferOutput& operator=(TBufferOutput&&) noexcept; ~TBufferOutput() override; - + /** * @returns Buffer that this stream writes into. */ diff --git a/util/stream/input.h b/util/stream/input.h index 2039f6f7c6..f0d5807ed2 100644 --- a/util/stream/input.h +++ b/util/stream/input.h @@ -69,7 +69,7 @@ public: inline size_t ReadTo(TString& st, char ch) { return DoReadTo(st, ch); } - + /** * Reads the requested amount of data from the stream. Unlike `Read`, this * function stops only when the requested amount of data is read, or when @@ -92,14 +92,14 @@ public: * @see Load */ void LoadOrFail(void* buf, size_t len); - + /** * Reads all data from this stream and returns it as a string. * * @returns Contents of this stream as a string. */ TString ReadAll(); - + /** * Reads all data from this stream and writes it into a provided output * stream. @@ -120,7 +120,7 @@ public: * reached. */ TString ReadLine(); - + /** * Reads all characters from the stream until the given character is * encountered and returns them as a string. The character itself is read @@ -133,7 +133,7 @@ public: * reached. */ TString ReadTo(char ch); - + /** * Reads all data from the stream until the first occurrence of '\n' and * stores it into provided string. Also handles Windows line breaks correctly. diff --git a/util/stream/mem.h b/util/stream/mem.h index 5fcb5fd5ea..18a5d46772 100644 --- a/util/stream/mem.h +++ b/util/stream/mem.h @@ -16,7 +16,7 @@ class TMemoryInput: public IZeroCopyInputFastReadTo { public: TMemoryInput() noexcept; - + /** * Constructs a stream that reads from the provided memory block. It's up * to the user to make sure that the memory block doesn't get freed while |