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