Sofu Documentation
LoadFile Method (input)
NamespacesSofu.SofuSofuReaderLoadFile(Stream)
Reads data from a Strem an puts it into a SofuObject tree.
Declaration Syntax
C#
public static Map LoadFile(
	Stream input
)
Parameters
input (Stream)
Stream to read from
Return Value
A Sofu.Map containing the read data
Examples

Load a file from a MemoryStream and write it to "text.sofu"

CopyC#
MemoryStream m = new MemorySteram(somebytearray);
Sofu.Sofu.Map file = SofuReader.LoadFile(ms);
file.Write("text.sofu");//Write it out.

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