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 | 71af077a5dfe7e9f932a508422c2dac81a57ebc0 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/stream/buffer.cpp | |
parent | 3c5b1607b38f637d2f3313791ed25c2e080d2647 (diff) |
Restoring authorship annotation for Alexey Salmin <[email protected]>. Commit 2 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 ad4212f0cdc..2facece4ea0 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) |