chunkd.chunk

A module for creating chunks. You can put any data in it, and compress, and extract the very chunks from files. It will be useful for storing some kind of data about maps, textures or the like.

Chunk chunk = Chunk("Simple chunk", "Hello, World! It's Chunk!");
std.file.write("binary",chunk.save());

Members

Structs

Chunk
struct Chunk

Chunk structure. Has a title and information. The size of the chunk, the size of the name, then the name itself and the data are written to the file, and so on in order.

Meta

Authors

TodNaz