Format

Constructors

this
this(string location, T tag)
Undocumented in source.
this
this(T tag, string location)
Undocumented in source.

Alias This

tag

Members

Functions

load
T load()
Undocumented in source. Be warned that the author may not have intended to support it.
loadHeader
void loadHeader(Buffer buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
save
T save()
Undocumented in source. Be warned that the author may not have intended to support it.
saveHeader
void saveHeader(Buffer buffer)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

location
string location;
Undocumented in source.
tag
T tag;
Undocumented in source.

Examples

alias Level = Format!(Named!Compound, ClassicStream!(Endian.bigEndian), Compression.gzip);
auto level = Level.read("level.dat");
level.get!Compound("data")["LevelName"] = "Edited from code!";
Level.write(level, "level.dat");

Meta