Aller au contenu
Bienvenue sur la nouvelle documentation de CppUtils !

Namespace: CppUtils::FileSystem::Binary

auto readByBlocks(const std::filesystem::path& filePath, auto&& function, std::size_t blockSize=4 '096);
template <Type::TriviallyCopyable T>
auto write(const std::filesystem::path& filePath, const T& buffer) -> void;
template <Type::TriviallyCopyable T>
auto read(const std::filesystem::path& filePath) -> T;
template <Type::TriviallyCopyable T>
auto writeVector(const std::filesystem::path& filePath, const std::vector<T>& vector) -> void;
template <Type::TriviallyCopyable T>
auto readVector(const std::filesystem::path& filePath) -> std::vector<T>;