public void Build(string path) { IO.EndianWriter file = new BlamLib.IO.EndianWriter(path, BlamLib.IO.EndianState.Little, this, true); MemoryStream ms = PrepareStrings(); file.Write(Names.Count); //file.Write(ms.GetBuffer().Length); //foreach (int offset in NameOffsets) // file.Write(offset); //foreach (int offset in ScenarioOffsets) // file.Write(offset); file.Write(ms.GetBuffer()); ms.Close(); file.Close(); }
public void Close() { output.Close(); }