aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/input.h
diff options
context:
space:
mode:
authormironov <mironov@yandex-team.ru>2022-02-10 16:49:44 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:44 +0300
commitceabccd128eb94ed6566936fcab2093ec62aa84a (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/stream/input.h
parent139799acc0d1251c94200128757ef38926775ab3 (diff)
downloadydb-ceabccd128eb94ed6566936fcab2093ec62aa84a.tar.gz
Restoring authorship annotation for <mironov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/stream/input.h')
-rw-r--r--util/stream/input.h10
1 files changed, 5 insertions, 5 deletions
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.