diff options
author | yurial <yurial@yandex-team.com> | 2023-11-16 13:59:02 +0300 |
---|---|---|
committer | yurial <yurial@yandex-team.com> | 2023-11-16 14:43:37 +0300 |
commit | a2fd00a24fcb20211418b797cb6191c4f1afa6ea (patch) | |
tree | 68e33195baef03090a66c0e3868c89bfd2268480 /library/cpp/yt/yson_string/string.h | |
parent | cab414f768af417824e8def2b045b5f13c5e7931 (diff) | |
download | ydb-a2fd00a24fcb20211418b797cb6191c4f1afa6ea.tar.gz |
Support Save/Load TYsonString
Diffstat (limited to 'library/cpp/yt/yson_string/string.h')
-rw-r--r-- | library/cpp/yt/yson_string/string.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/cpp/yt/yson_string/string.h b/library/cpp/yt/yson_string/string.h index 29845b70ae..d9f036569f 100644 --- a/library/cpp/yt/yson_string/string.h +++ b/library/cpp/yt/yson_string/string.h @@ -107,6 +107,10 @@ public: //! Computes the hash code. size_t ComputeHash() const; + //! Allow to serialize/deserialize using the ::Save ::Load functions. See util/ysaveload.h. + void Save(IOutputStream* s) const; + void Load(IInputStream* s); + private: struct TNullPayload { }; |