Create a new encian decoder using a sofu byte order mark.
Declaration Syntax
C# |
public Endianness( int detect )
Parameters
- detect (Int32)
- Sofu Byte Order mark: 1 = right encoding, 256 = switch encoding
Examples
CopyC#
Sofu.Sofu.Map file = SofuReader.LoadFile("file.sofu"); file.WriteBinary("file.bsofu",Encoding.UTF8,new Endianness(1));