datapak

Public Imports

vfile
public import vfile;

Members

Classes

BadChecksumException
class BadChecksumException

Thrown on checksum errors

CompressionException
class CompressionException

Thrown on compression errors

DataPak
class DataPak

DataPak (*.dpk) is mainly intended as a compression method for application assets. Technically it can store folder info, but the fixed filename length is shorter to save some extra space. There's some support for expanding the path, but currently unimplemented.

Functions

reinterpretCast
T[] reinterpretCast(U input)

Reinterprets an array as the requested type.

reinterpretCastA
T[] reinterpretCastA(U[] input)

Reinterprets an array as the requested type.

reinterpretGet
T reinterpretGet(U[] input)

Gets a certain type from an array.

Structs

DataPak_OSExt
struct DataPak_OSExt

Default extension for adding general support for using it as a regular file archival tool

Meta