|
NSUNI/NSLAR Library a250670
|
Typedefs | |
| using | nnl::dig_entry::DigEntry = std::vector<Buffer> |
| A nested archive within a top-level Dig archive. | |
| using | nnl::dig_entry::DigEntryView = std::vector<BufferView> |
| A non-owning view of a dig entry archive. | |
Functions | |
| bool | nnl::dig_entry::IsOfType (BufferView buffer) |
| Tests if the provided file is a dig entry archive. | |
| DigEntry | nnl::dig_entry::Import (BufferView buffer) |
| Parses a binary file and converts it into a DigEntry object. | |
| DigEntryView | nnl::dig_entry::ImportView (BufferView buffer) |
| Parses a binary file and converts it into DigEntryView. | |
| Buffer | nnl::dig_entry::Export (const DigEntry &dig_entry) |
| Converts a dig entry archive to a binary file representation. | |
| using nnl::dig_entry::DigEntry = std::vector<Buffer> |
A nested archive within a top-level Dig archive.
| using nnl::dig_entry::DigEntryView = std::vector<BufferView> |
Converts a dig entry archive to a binary file representation.
This function takes an dig entry archive and converts it into a Buffer, which represents the binary format of the container.
| dig_entry | The object to be converted. |
| DigEntry nnl::dig_entry::Import | ( | BufferView | buffer | ) |
Parses a binary file and converts it into a DigEntry object.
This function takes a binary representation of a dig entry archive, parses its contents, and converts them into a DigEntry object for easier access and modification.
| buffer | The binary data to be processed. |
| DigEntryView nnl::dig_entry::ImportView | ( | BufferView | buffer | ) |
Parses a binary file and converts it into DigEntryView.
DigEntryView does not store copies of file buffers but stores references to the original data.
| buffer | The binary data to be processed. |
| bool nnl::dig_entry::IsOfType | ( | BufferView | buffer | ) |
Tests if the provided file is a dig entry archive.
This function takes data representing a file and checks whether it corresponds to the in-game dig entry archive format.
| buffer | The data to be tested. |