aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/zencore/include')
-rw-r--r--src/zencore/include/zencore/compactbinary.h7
-rw-r--r--src/zencore/include/zencore/filesystem.h2
2 files changed, 9 insertions, 0 deletions
diff --git a/src/zencore/include/zencore/compactbinary.h b/src/zencore/include/zencore/compactbinary.h
index 66e621a8a..cb032e34a 100644
--- a/src/zencore/include/zencore/compactbinary.h
+++ b/src/zencore/include/zencore/compactbinary.h
@@ -1470,6 +1470,13 @@ end(CbFieldView&)
return CbFieldViewIterator();
}
+/**
+ * Serialize serialized compact binary blob to jaons. It must be 0 to n fields with including type for each field
+ */
+ZENCORE_API void CompactBinaryToJson(MemoryView Data, StringBuilderBase& InBuilder);
+
+ZENCORE_API std::vector<CbFieldView> ReadCompactBinaryStream(MemoryView Data);
+
void uson_forcelink(); // internal
} // namespace zen
diff --git a/src/zencore/include/zencore/filesystem.h b/src/zencore/include/zencore/filesystem.h
index 075188993..22eb40e45 100644
--- a/src/zencore/include/zencore/filesystem.h
+++ b/src/zencore/include/zencore/filesystem.h
@@ -211,6 +211,8 @@ void GetDirectoryContent(const std::filesystem::path& RootDir, uint8_t Flags, Di
std::string GetEnvVariable(std::string_view VariableName);
+std::error_code RotateFiles(const std::filesystem::path& Filename, std::size_t MaxFiles);
+
//////////////////////////////////////////////////////////////////////////
void filesystem_forcelink(); // internal