diff options
author | Ruslan Kovalev <[email protected]> | 2022-02-10 16:46:44 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:44 +0300 |
commit | 59e19371de37995fcb36beb16cd6ec030af960bc (patch) | |
tree | fa68e36093ebff8b805462e9e6d331fe9d348214 /library/cpp/codecs/static/static.h | |
parent | 89db6fe2fe2c32d2a832ddfeb04e8d078e301084 (diff) |
Restoring authorship annotation for Ruslan Kovalev <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/codecs/static/static.h')
-rw-r--r-- | library/cpp/codecs/static/static.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/library/cpp/codecs/static/static.h b/library/cpp/codecs/static/static.h index c1eaed2a742..efa9c60c225 100644 --- a/library/cpp/codecs/static/static.h +++ b/library/cpp/codecs/static/static.h @@ -1,34 +1,34 @@ -#pragma once - +#pragma once + #include <library/cpp/codecs/codecs.h> - -#include <util/generic/strbuf.h> + +#include <util/generic/strbuf.h> #include <util/generic/string.h> #include <util/stream/output.h> - -namespace NCodecs { - class TStaticCodecInfo; - - // load - - TCodecConstPtr RestoreCodecFromCodecInfo(const TStaticCodecInfo&); - - TStaticCodecInfo LoadCodecInfoFromString(TStringBuf data); - + +namespace NCodecs { + class TStaticCodecInfo; + + // load + + TCodecConstPtr RestoreCodecFromCodecInfo(const TStaticCodecInfo&); + + TStaticCodecInfo LoadCodecInfoFromString(TStringBuf data); + TString LoadStringFromArchive(const ui8* begin, size_t size); - - TCodecConstPtr RestoreCodecFromArchive(const ui8* begin, size_t size); - - // save - + + TCodecConstPtr RestoreCodecFromArchive(const ui8* begin, size_t size); + + // save + TString SaveCodecInfoToString(const TStaticCodecInfo&); - + void SaveCodecInfoToStream(IOutputStream& out, const TStaticCodecInfo&); - - // misc - + + // misc + TStaticCodecInfo LoadCodecInfoFromStream(IInputStream& in); - + TString FormatCodecInfo(const TStaticCodecInfo&); - -} + +} |