aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/codecs/codecs.h
diff options
context:
space:
mode:
authorleasid <leasid@yandex-team.ru>2022-02-10 16:46:51 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:51 +0300
commitfbf86a4ded9dc8c023e9ce96018c8f495f2e5212 (patch)
tree73395cdacbe691b551f6b56badcfb6ef9a1503c3 /library/cpp/codecs/codecs.h
parent084b81523e9afa5566bcfec6ebfc4290f204b4e7 (diff)
downloadydb-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.h12
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;