Expand description
Library for collecting and packing resources into a bundle with a manifest file which describes those resources.
A Bundle contains a Manifest as well as any number of arbitrary,
opaque resources in the form of ResourceBytes.
A Bundle can be serialized and written to a file.
A Bundle can also be packed and unpacked,
via the "packing" feature.
Bundle packing is performed by following the Locations specified in the
Manifest as “Bundled”, and pulling them into the Bundle that way.
Unpacking is done by specifying a target directory and creating a new file
for each resource at a relative path specified by the Manifest.
Modules§
Structs§
- Bundle
- A Manifest bundled together, optionally, with the Resources that it describes. This is meant to be serialized for standalone distribution, and deserialized by the receiver.
- RawBundle
- A manifest bundled together, optionally, with the Resources that it describes. The manifest may be of any format. This is useful for deserializing a bundle of an outdated format, so that it may be modified to fit the supported format.
- Resource
Bytes - Arbitrary opaque bytes representing a Resource in a
Bundle
Enums§
- Location
- Where to find a Resource.