aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/codecs/float_huffman.h
diff options
context:
space:
mode:
authormvel <mvel@yandex-team.ru>2022-02-10 16:45:41 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:41 +0300
commitbd30392c4cc92487950adc375c07adf52da1d592 (patch)
treee8d1a3f19b7fc890bcef6e4cc5de41f1d88c9ac3 /library/cpp/codecs/float_huffman.h
parent5d50718e66d9c037dc587a0211110b7d25a66185 (diff)
downloadydb-bd30392c4cc92487950adc375c07adf52da1d592.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/codecs/float_huffman.h')
-rw-r--r--library/cpp/codecs/float_huffman.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/codecs/float_huffman.h b/library/cpp/codecs/float_huffman.h
index 786a8eae1d..234c101b3e 100644
--- a/library/cpp/codecs/float_huffman.h
+++ b/library/cpp/codecs/float_huffman.h
@@ -1,8 +1,8 @@
#pragma once
-
+
#include <util/generic/array_ref.h>
-#include <util/generic/vector.h>
-#include <util/generic/strbuf.h>
+#include <util/generic/vector.h>
+#include <util/generic/strbuf.h>
#include <array>
@@ -12,15 +12,15 @@ namespace NCodecs::NFloatHuff {
class TDecoder {
public:
explicit TDecoder(TStringBuf data);
-
+
TVector<float> DecodeAll(size_t sizeHint = 0);
-
+
// Returns number of decoded floats. May be fewer than requested if the EOS is found.
size_t Decode(TArrayRef<float> dest);
-
+
// Returns the number of skipped values.
size_t Skip(size_t count);
-
+
bool HasMore() const;
private: