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 | fbf86a4ded9dc8c023e9ce96018c8f495f2e5212 (patch) | |
tree | 73395cdacbe691b551f6b56badcfb6ef9a1503c3 /library/cpp/codecs/codecs.h | |
parent | 084b81523e9afa5566bcfec6ebfc4290f204b4e7 (diff) | |
download | ydb-fbf86a4ded9dc8c023e9ce96018c8f495f2e5212.tar.gz |
Restoring authorship annotation for <leasid@yandex-team.ru>. Commit 1 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 cc5e72b285..4901b01f02 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; |