diff options
author | leasid <leasid@yandex-team.ru> | 2022-02-10 16:46:51 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:51 +0300 |
commit | 2e6009493e74f88988b81f219b301f450331648d (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /library/cpp/codecs/codecs.h | |
parent | fbf86a4ded9dc8c023e9ce96018c8f495f2e5212 (diff) | |
download | ydb-2e6009493e74f88988b81f219b301f450331648d.tar.gz |
Restoring authorship annotation for <leasid@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/codecs/codecs.h')
-rw-r--r-- | library/cpp/codecs/codecs.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/codecs/codecs.h b/library/cpp/codecs/codecs.h index 4901b01f02..cc5e72b285 100644 --- a/library/cpp/codecs/codecs.h +++ b/library/cpp/codecs/codecs.h @@ -59,13 +59,13 @@ namespace NCodecs { virtual TString GetName() const = 0; virtual ui8 /*free bits in last byte*/ Encode(TStringBuf, TBuffer&) const = 0; - virtual ui8 Encode(const TBuffer& input, TBuffer& output) const { - return Encode(TStringBuf(input.Data(), input.Data() + input.Size()), output); - } + virtual ui8 Encode(const TBuffer& input, TBuffer& output) const { + return Encode(TStringBuf(input.Data(), input.Data() + input.Size()), output); + } virtual void Decode(TStringBuf, TBuffer&) const = 0; - virtual void Decode(const TBuffer& input, TBuffer& output) const { - Decode(TStringBuf(input.Data(), input.Data() + input.Size()), output); - } + virtual void Decode(const TBuffer& input, TBuffer& output) const { + Decode(TStringBuf(input.Data(), input.Data() + input.Size()), output); + } virtual ~ICodec() = default; |