Writes this SofuObject and all its children into a binary sofu file
Declaration Syntax
C# |
public void WriteBinary( string output, Encoding encoding, Endianness endian )
Parameters
- output (String)
- File to write to
- encoding (Encoding)
- Encoding to use
- endian (Endianness)
- Endianness to use
Examples
CopyC#
Sofu.Sofu.Map map = new Sofu.Sofu.Map(); map.SetAttribute("Hello",new Sofu.Sofu.Value("World"); map.Write("helloworld.bsofu",Encoding.Unicode,Endianness.MachineOrder);