diff options
author | psushin <psushin@yandex-team.ru> | 2022-02-10 16:49:20 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:20 +0300 |
commit | 85ad20a00eb9c7d4dcae0debe5172d5f9bc6792f (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/yson/varint.h | |
parent | 4ba0e0cae125e5faa4b5664a88c54ab6af93ea4d (diff) | |
download | ydb-85ad20a00eb9c7d4dcae0debe5172d5f9bc6792f.tar.gz |
Restoring authorship annotation for <psushin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yson/varint.h')
-rw-r--r-- | library/cpp/yson/varint.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/library/cpp/yson/varint.h b/library/cpp/yson/varint.h index af46e23f536..80b1184e57f 100644 --- a/library/cpp/yson/varint.h +++ b/library/cpp/yson/varint.h @@ -1,24 +1,24 @@ -#pragma once - -#include <util/stream/input.h> -#include <util/stream/output.h> -#include <util/system/defaults.h> - +#pragma once + +#include <util/stream/input.h> +#include <util/stream/output.h> +#include <util/system/defaults.h> + namespace NYson { //////////////////////////////////////////////////////////////////////////////// - + // Various functions that read/write varints from/to a stream. - + // Returns the number of bytes written. int WriteVarUInt64(IOutputStream* output, ui64 value); int WriteVarInt32(IOutputStream* output, i32 value); int WriteVarInt64(IOutputStream* output, i64 value); - + // Returns the number of bytes read. int ReadVarUInt64(IInputStream* input, ui64* value); int ReadVarInt32(IInputStream* input, i32* value); int ReadVarInt64(IInputStream* input, i64* value); - + //////////////////////////////////////////////////////////////////////////////// - + } // namespace NYson |