Sofu Documentation
WriteBinary Method (output, encoding)
NamespacesSofu.SofuSofuObjectWriteBinary(Stream, Encoding)
Writes this SofuObject and all its children into a binary sofu file
Declaration Syntax
C#
public void WriteBinary(
	Stream output,
	Encoding encoding
)
Parameters
output (Stream)
Stream to write into
encoding (Encoding)
Encoding to use as int
Examples
CopyC#
Sofu.Sofu.Map map = new Sofu.Sofu.Map();
map.SetAttribute("Hello",new Sofu.Sofu.Value("World");
MemoryStream ms = new MemoryStream();
map.Write(ms,Encoding.BigEndianUnicode);

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