diff options
| author | Alexey Salmin <[email protected]> | 2022-02-10 16:49:37 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:37 +0300 |
| commit | 3c5b1607b38f637d2f3313791ed25c2e080d2647 (patch) | |
| tree | 99be7b96e7c66612fbca94331100ef3b5fedcb88 /util/stream/buffer.cpp | |
| parent | de89752358147d7b25ef59a85b431bb564068a49 (diff) | |
Restoring authorship annotation for Alexey Salmin <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/stream/buffer.cpp')
| -rw-r--r-- | util/stream/buffer.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/util/stream/buffer.cpp b/util/stream/buffer.cpp index 2facece4ea0..ad4212f0cdc 100644 --- a/util/stream/buffer.cpp +++ b/util/stream/buffer.cpp @@ -30,10 +30,10 @@ public: Data_.Append((const char*)buf, len); } - inline void DoWriteC(char c) { - Data_.Append(c); - } - + inline void DoWriteC(char c) { + Data_.Append(c); + } + inline TBuffer& Buffer() const noexcept { return Data_; } @@ -87,10 +87,10 @@ void TBufferOutput::DoWrite(const void* buf, size_t len) { Impl_->DoWrite(buf, len); } -void TBufferOutput::DoWriteC(char c) { - Impl_->DoWriteC(c); -} - +void TBufferOutput::DoWriteC(char c) { + Impl_->DoWriteC(c); +} + TBufferInput::TBufferInput(const TBuffer& buffer) : Buf_(buffer) , Readed_(0) |
