#ifndef YAZE_CLI_PATCH_H #define YAZE_CLI_PATCH_H #include #include #include #include #include #include namespace yaze { namespace cli { void encode(uint64_t data, std::vector& output); uint64_t decode(const std::vector& input, size_t& offset); uint32_t crc32(const std::vector& data); void CreateBpsPatch(const std::vector& source, const std::vector& target, std::vector& patch); void ApplyBpsPatch(const std::vector& source, const std::vector& patch, std::vector& target); } // namespace cli } // namespace yaze #endif