class final
#include <btu/bsa/archive.hpp>
File Constructors, destructors, conversion operators
-
File(ArchiveVersion version,
ArchiveType type,
std::
optional<TES4ArchiveType> tes4_type = std::nullopt) explicit noexcept -
File(UnderlyingFile f,
ArchiveVersion version,
ArchiveType type,
std::
optional<TES4ArchiveType> tes4_type) noexcept
Public functions
-
template <typename T>auto as_raw_file() && → auto noexcept
- auto compress() → bool noexcept
- auto compressed() const → Compression noexcept
- auto read(Path path) → bool noexcept
-
auto read(std::
span<std:: byte> src) → bool noexcept -
auto size() const → std::
optional<size_t> noexcept -
auto tes4_archive_type() const → std::
optional<TES4ArchiveType> noexcept - auto type() const → ArchiveType noexcept
- auto version() const → ArchiveVersion noexcept
- auto write(Path path) const → bool noexcept
- auto write(binary_io::any_ostream& dst) const → bool noexcept