NSUNI/NSLAR Library a250670
Loading...
Searching...
No Matches
nnl::dig Namespace Reference

Provides structures and functions to manage primary game archives. More...

Classes

struct  TFileRecord
 A raw entry in the dig archive. More...

Typedefs

using FileRecord = TFileRecord<Buffer>
 A raw entry in the dig archive.
using FileRecordView = TFileRecord<BufferView>
 A raw entry in the dig archive.
using Dig = std::vector<FileRecord>
 A primary game data archive.
using DigView = std::vector<FileRecordView>
 A non-owning view of a dig archive.

Functions

bool IsOfType (BufferView buffer)
 Tests if the provided file is a dig archive.
Dig Import (BufferView buffer)
 Parses a binary file and converts it into a Dig object.
DigView ImportView (BufferView buffer)
 Parses a binary file and converts it into DigView.
Buffer Export (const Dig &cfcdig)
 Converts a dig archive to a binary file representation.
Buffer Decompress (BufferView buffer, u32 decompressed_size)
 Decompress binary data.
Buffer Compress (BufferView buffer)
 Compress binary data.

Detailed Description

Provides structures and functions to manage primary game archives.

See also
nnl::dig::Dig
nnl::dig::IsOfType
nnl::dig::ImportView
nnl::dig::Import
nnl::dig::Export