diff options
author | Ruslan Kovalev <ruslan.a.kovalev@gmail.com> | 2022-02-10 16:46:45 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:45 +0300 |
commit | 9123176b341b6f2658cff5132482b8237c1416c8 (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /util/stream/input.cpp | |
parent | 59e19371de37995fcb36beb16cd6ec030af960bc (diff) | |
download | ydb-9123176b341b6f2658cff5132482b8237c1416c8.tar.gz |
Restoring authorship annotation for Ruslan Kovalev <ruslan.a.kovalev@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'util/stream/input.cpp')
-rw-r--r-- | util/stream/input.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/stream/input.cpp b/util/stream/input.cpp index 5f545c2bca..6e8170f2f9 100644 --- a/util/stream/input.cpp +++ b/util/stream/input.cpp @@ -120,9 +120,9 @@ TString IInputStream::ReadTo(char ch) { } size_t IInputStream::Skip(size_t sz) { - return DoSkip(sz); -} - + return DoSkip(sz); +} + size_t IInputStream::DoSkip(size_t sz) { if (sz < 128) { return Load(alloca(sz), sz); @@ -143,8 +143,8 @@ size_t IInputStream::DoSkip(size_t sz) { } return total; -} - +} + TString IInputStream::ReadAll() { TString result; TStringOutput stream(result); |