Writes this SofuObject and all its children into a binary sofu file
Declaration Syntax
C# |
public void WriteBinary( Stream output, int encoding, Endianness endian )
Parameters
- output (Stream)
- Stream to write into
- encoding (Int32)
- Encoding to use as int
- endian (Endianness)
- Endianness to use
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,1,Endianness.MachineOrder);