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");
See Implementation