aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/archive/yarchive.h
diff options
context:
space:
mode:
authortobo <tobo@yandex-team.ru>2022-02-10 16:47:27 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:27 +0300
commit7fe839092527589b38f014d854c51565b3c1adfa (patch)
tree309e97022d3530044b712b8f71318c78faf7856e /library/cpp/archive/yarchive.h
parentd0d68c395c10da4cb56a1c845504570a04d7893e (diff)
downloadydb-7fe839092527589b38f014d854c51565b3c1adfa.tar.gz
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/archive/yarchive.h')
-rw-r--r--library/cpp/archive/yarchive.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/library/cpp/archive/yarchive.h b/library/cpp/archive/yarchive.h
index 8120bcb940..003443ea74 100644
--- a/library/cpp/archive/yarchive.h
+++ b/library/cpp/archive/yarchive.h
@@ -16,7 +16,7 @@ static constexpr size_t ArchiveWriterDefaultDataAlignment = 16;
class TArchiveWriter {
public:
- explicit TArchiveWriter(IOutputStream* out, bool compress = true);
+ explicit TArchiveWriter(IOutputStream* out, bool compress = true);
~TArchiveWriter();
void Flush();
@@ -31,16 +31,16 @@ private:
class TArchiveReader : public IModelsArchiveReader {
public:
- explicit TArchiveReader(const TBlob& data);
- ~TArchiveReader() override;
-
- size_t Count() const noexcept override;
- TString KeyByIndex(size_t n) const override;
- bool Has(TStringBuf key) const override;
- TAutoPtr<IInputStream> ObjectByKey(TStringBuf key) const override;
- TBlob ObjectBlobByKey(TStringBuf key) const override;
- TBlob BlobByKey(TStringBuf key) const override;
- bool Compressed() const override;
+ explicit TArchiveReader(const TBlob& data);
+ ~TArchiveReader() override;
+
+ size_t Count() const noexcept override;
+ TString KeyByIndex(size_t n) const override;
+ bool Has(TStringBuf key) const override;
+ TAutoPtr<IInputStream> ObjectByKey(TStringBuf key) const override;
+ TBlob ObjectBlobByKey(TStringBuf key) const override;
+ TBlob BlobByKey(TStringBuf key) const override;
+ bool Compressed() const override;
private:
class TImpl;