diff options
| author | tobo <[email protected]> | 2022-02-10 16:47:27 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:47:27 +0300 |
| commit | 7fe839092527589b38f014d854c51565b3c1adfa (patch) | |
| tree | 309e97022d3530044b712b8f71318c78faf7856e /util/stream/format.h | |
| parent | d0d68c395c10da4cb56a1c845504570a04d7893e (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/stream/format.h')
| -rw-r--r-- | util/stream/format.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/stream/format.h b/util/stream/format.h index b033208a1b0..e3cd64cc57c 100644 --- a/util/stream/format.h +++ b/util/stream/format.h @@ -118,9 +118,9 @@ namespace NFormatPrivate { if (value.Flags & HF_ADDX) { if (Base == 16) { - stream << TStringBuf("0x"); + stream << TStringBuf("0x"); } else if (Base == 2) { - stream << TStringBuf("0b"); + stream << TStringBuf("0b"); } } @@ -329,7 +329,7 @@ static constexpr ::NFormatPrivate::TBaseNumber<T, 2> SBin(const T& value, const * * Example usage: * @code - * stream << HexText(TStringBuf("abcи")); // Will output "61 62 63 D0 B8" + * stream << HexText(TStringBuf("abcи")); // Will output "61 62 63 D0 B8" * stream << HexText(TWtringBuf(u"abcи")); // Will output "0061 0062 0063 0438" * @endcode * @@ -348,7 +348,7 @@ static inline ::NFormatPrivate::TBaseText<TChar, 16> HexText(const TBasicStringB * * Example usage: * @code - * stream << BinText(TStringBuf("aaa")); // Will output "01100001 01100001 01100001" + * stream << BinText(TStringBuf("aaa")); // Will output "01100001 01100001 01100001" * @endcode * * @param value String to output. |
