Sofu Documentation
ConvertLong Method (value)
NamespacesSofu.SofuEndiannessConvertLong(array<Byte>[]()[])
Converts a bytearray into an unsigned integer using the current Endianness
Declaration Syntax
C#
public uint ConvertLong(
	byte[] value
)
Parameters
value (array< Byte >[]()[])
ByteArray to convert, length must be > 4
Return Value
The converted value
Examples

Convert some bytes into an Integer using BigEndian

CopyC#
Endianness endian = Endianness.BigEndian;
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)