Writes the contents of this SofuObject into a TextWriter

C# |
public void Write( TextWriter outfile )

- outfile (TextWriter)
- TextWriter to write the contents to


Sofu.Sofu.Map file = SofuReader.LoadFile("file.sofu"); MemoryStream ms = new MemoryStream(); file.Write(new StreamWriter(ms)); // Sofu file is now in a MemoryStream