Writes the contents of this SofuObject into a TextWriter
Declaration Syntax
C# |
public void Write( TextWriter outfile )
Parameters
- outfile (TextWriter)
- TextWriter to write the contents to
Examples
CopyC#
Sofu.Sofu.Map file = SofuReader.LoadFile("file.sofu"); MemoryStream ms = new MemoryStream(); file.Write(new StreamWriter(ms)); // Sofu file is now in a MemoryStream