#include <ArchiveTOCView.h>
Public Types | |
using | CreateTOCViewOutcome = AZStd::expected< ArchiveTableOfContentsView, ArchiveTocValidationResult > |
using | ArchiveFilePathTable = AZStd::string_view |
ArchiveFilePathTable is a view into the start of the blob for file paths. | |
Public Member Functions | |
ArchiveTableOfContentsView () | |
ArchiveTableOfContentsView member implementation. | |
Static Public Member Functions | |
static CreateTOCViewOutcome | CreateFromArchiveHeaderAndBuffer (const ArchiveHeader &archiveHeader, AZStd::span< AZStd::byte > tocBuffer) |
Public Attributes | |
AZ::u64 | m_magicBytes = ArchiveTocMagicBytes |
8-byte magic bytes entry used to indicate that the read table of contents is valid | |
AZStd::span< ArchiveTocFileMetadata const > | m_fileMetadataTable {} |
AZStd::span< ArchiveTocFilePathIndex const > | m_filePathIndexTable {} |
ArchiveFilePathTable | m_filePathBlob {} |
AZStd::span< ArchiveBlockLineUnion const > | m_blockOffsetTable {} |
pointer to block offset table which stores the compressed size of all blocks within the archive | |
View Structure for viewing the Table of Contents at the end of the archive file This structure does not own the table of contents data in memory
using Archive::ArchiveTableOfContentsView::CreateTOCViewOutcome = AZStd::expected<ArchiveTableOfContentsView, ArchiveTocValidationResult> |
Initializes a Table of Contents view using the archive header and a buffer containing the uncompressed table of contents data from storage
AZStd::span<ArchiveTocFileMetadata const> Archive::ArchiveTableOfContentsView::m_fileMetadataTable {} |
pointer to the beginning of the Archive File Metadata Table It's length is based on the file count value in the Archive Header Section
AZStd::span<ArchiveTocFilePathIndex const> Archive::ArchiveTableOfContentsView::m_filePathIndexTable {} |
pointer to the beginning of the Archive File Path Index Table It's length is based on the file count value in the Archive Header Section