Sofu Documentation
Endianness Constructor (detectlower, detecthigher)
NamespacesSofu.SofuEndiannessEndianness(Byte, Byte)
Create a new encian decoder using a sofu byte order mark.
Declaration Syntax
C#
public Endianness(
	byte detectlower,
	byte detecthigher
)
Parameters
detectlower (Byte)
Sofu Byte Order mark, lower byte
detecthigher (Byte)
Sofu Byte Order mark, higher byte
Remarks
Shouldn't be used at all
Examples
CopyC#
Endianness endian = new Endianness(0,1); // Big Endian, This is in fact a binary sofu header part.
byte[] input = new byte[4] { 0xdd, 0x65, 0xee, 0x47 };
int i = endian.ConvertLong(input);
Console.Out.WriteLine(i); // Writes: 3714444871

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