Sofu Documentation
LoadFile Method (input)
NamespacesSofu.SofuSofuReaderLoadFile(TextReader)
Reads data from a textwriter an puts it into a SofuObject tree. Warning this does not support binary input, give it a Stream please.
Declaration Syntax
C#
public static Map LoadFile(
	TextReader input
)
Parameters
input (TextReader)
Textwriter to read from
Return Value
A Sofu.Map containing the read data
Examples

Load a file called "text.sofu" encoded in UTF7 and write it out again in default encoding

CopyC#
TextReader t = new StreamReader("text.sofu", Encoding.UTF7);
Sofu.Sofu.Map file = SofuReader.LoadFile(t);
file.Write("text.sofu");//Convert it to UTF-16

Assembly: Sofu (Module: Sofu) Version: 0.2.1.0 (0.2.1.0)