aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/blockcodecs/core/codecs.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/blockcodecs/core/codecs.h
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/blockcodecs/core/codecs.h')
-rw-r--r--library/cpp/blockcodecs/core/codecs.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/blockcodecs/core/codecs.h b/library/cpp/blockcodecs/core/codecs.h
index 9c93c00274..878678d5c7 100644
--- a/library/cpp/blockcodecs/core/codecs.h
+++ b/library/cpp/blockcodecs/core/codecs.h
@@ -2,7 +2,7 @@
#include <util/generic/buffer.h>
#include <util/generic/strbuf.h>
-#include <util/generic/string.h>
+#include <util/generic/string.h>
#include <util/generic/typetraits.h>
#include <util/generic/vector.h>
#include <util/generic/yexception.h>
@@ -45,25 +45,25 @@ namespace NBlockCodecs {
virtual size_t Compress(const TData& in, void* out) const = 0;
virtual size_t Decompress(const TData& in, void* out) const = 0;
- virtual TStringBuf Name() const noexcept = 0;
+ virtual TStringBuf Name() const noexcept = 0;
// some useful helpers
void Encode(const TData& in, TBuffer& out) const;
void Decode(const TData& in, TBuffer& out) const;
- void Encode(const TData& in, TString& out) const;
- void Decode(const TData& in, TString& out) const;
+ void Encode(const TData& in, TString& out) const;
+ void Decode(const TData& in, TString& out) const;
- inline TString Encode(const TData& in) const {
- TString out;
+ inline TString Encode(const TData& in) const {
+ TString out;
Encode(in, out);
return out;
}
- inline TString Decode(const TData& in) const {
- TString out;
+ inline TString Decode(const TData& in) const {
+ TString out;
Decode(in, out);
@@ -78,9 +78,9 @@ namespace NBlockCodecs {
const ICodec* Codec(const TStringBuf& name);
// some aux methods
- typedef TVector<TStringBuf> TCodecList;
+ typedef TVector<TStringBuf> TCodecList;
TCodecList ListAllCodecs();
- TString ListAllCodecsAsString();
+ TString ListAllCodecsAsString();
// SEARCH-8344: Get the size of max possible decompressed block
size_t GetMaxPossibleDecompressedLength();