diff options
| author | akhropov <[email protected]> | 2026-05-31 20:04:32 +0300 |
|---|---|---|
| committer | akhropov <[email protected]> | 2026-05-31 20:51:44 +0300 |
| commit | b3c178b230eacd4e61fa9f55457da0c2d4be79c8 (patch) | |
| tree | 853ff9b9ee1c5fded72b44a96a8db1bcc8858259 /util | |
| parent | a8a38824d870584a711775df951b97332136103e (diff) | |
Fix: 'characters' -> 'bytes', their size is not always the same
commit_hash:e4679eedba9c727a028bf6eadc447b3ac3c88d20
Diffstat (limited to 'util')
| -rw-r--r-- | util/stream/input.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/stream/input.h b/util/stream/input.h index c64159b28c4..dd045a66f4a 100644 --- a/util/stream/input.h +++ b/util/stream/input.h @@ -63,7 +63,7 @@ public: * * @param[out] st String to read into. * @param ch Character to stop at. - * @returns Total number of characters read from the stream. + * @returns Total number of bytes read from the stream. * A return value of zero signals end of stream. */ inline size_t ReadTo(TString& st, char ch) { @@ -105,7 +105,7 @@ public: * stream. * * @param out Output stream to use. - * @returns Total number of characters read from the stream. + * @returns Total number of bytes read from the stream. */ ui64 ReadAll(IOutputStream& out); @@ -140,7 +140,7 @@ public: * * @param[out] st String to store read characters into, * excluding the line terminator. - * @returns Total number of characters read from the stream. + * @returns Total number of bytes read from the stream. * A return value of zero signals end of stream. */ size_t ReadLine(TString& st); @@ -152,7 +152,7 @@ public: * * @param[out] w Wide string to store read characters into, * excluding the line terminator. - * @returns Total number of characters read from the stream. + * @returns Total number of bytes read from the stream. * A return value of zero signals end of stream. */ size_t ReadLine(TUtf16String& w); @@ -200,7 +200,7 @@ protected: * * @param[out] st String to read into. * @param ch Character to stop at. - * @returns Total number of characters read from the stream. + * @returns Total number of bytes read from the stream. * A return value of zero signals end of stream. * @throws yexception If IO error occurs. */ @@ -211,7 +211,7 @@ protected: * stream. * * @param out Output stream to use. - * @returns Total number of characters read from + * @returns Total number of bytes read from * this stream. * @throws yexception If IO error occurs. */ |
