Module dagon.resource.boxfs
A virtual read-only file system for accessing files packed in Box archives.
Description
The dagon module defines the BoxFileSystem class, which
allows mounting and reading files from a Box archive format. This is useful
for distributing game assets as a single file, supporting virtual file system
operations such as file lookup, streaming, and stat queries. The module also
provides an UnmanagedArrayStream for efficient buffer access.
An utility for packing and unpacking *.box files: https://github.com/gecko0307/box.
Classes
| Name | Description |
|---|---|
BoxFileSystem
|
Read-only file system for accessing files in a Box archive. |
UnmanagedArrayStream
|
An array stream interface for a raw buffer. Used for reading data from a buffer extracted from a box archive. |
Structs
| Name | Description |
|---|---|
BoxEntry
|
Represents a file entry in a box archive. |