#pragma once #include namespace BrickByBrickFix { /** * @brief Deletes all broken BrickByBrick models that have invalid XML * * @return The number of BrickByBrick models that were truncated */ uint32_t TruncateBrokenBrickByBrickXml(); /** * @brief Updates all BrickByBrick models in the database to be * in the sd0 format as opposed to a zlib compressed format. * * @return The number of BrickByBrick models that were updated */ uint32_t UpdateBrickByBrickModelsToSd0(); /** * @brief Max size of an inflated sd0 zlib chunk * */ constexpr uint32_t MAX_SD0_CHUNK_SIZE = 1024 * 256; };