|
NSUNI/NSLAR Library a250670
|
Provides structures and functions to manage primary game archives. More...
Go to the source code of this file.
Classes | |
| struct | nnl::dig::TFileRecord< TData > |
| A raw entry in the dig archive. More... | |
Namespaces | |
| namespace | nnl |
| namespace | nnl::dig |
| Provides structures and functions to manage primary game archives. | |
Typedefs | |
| using | nnl::dig::FileRecord = TFileRecord<Buffer> |
| A raw entry in the dig archive. | |
| using | nnl::dig::FileRecordView = TFileRecord<BufferView> |
| A raw entry in the dig archive. | |
| using | nnl::dig::Dig = std::vector<FileRecord> |
| A primary game data archive. | |
| using | nnl::dig::DigView = std::vector<FileRecordView> |
| A non-owning view of a dig archive. | |
Functions | |
| bool | nnl::dig::IsOfType (BufferView buffer) |
| Tests if the provided file is a dig archive. | |
| Dig | nnl::dig::Import (BufferView buffer) |
| Parses a binary file and converts it into a Dig object. | |
| DigView | nnl::dig::ImportView (BufferView buffer) |
| Parses a binary file and converts it into DigView. | |
| Buffer | nnl::dig::Export (const Dig &cfcdig) |
| Converts a dig archive to a binary file representation. | |
| Buffer | nnl::dig::Decompress (BufferView buffer, u32 decompressed_size) |
| Decompress binary data. | |
| Buffer | nnl::dig::Compress (BufferView buffer) |
| Compress binary data. | |
Variables | |
| constexpr u32 | nnl::dig::raw::kBlockSize = 0x800U |
| The size of an LBA sector in bytes. | |
Provides structures and functions to manage primary game archives.