Click or drag to resize

UtilDecodeUnsignedLong Method

Decode byte array to unsigned long.

Namespace:  Guardtime.KSI.Utils
Assembly:  ksi-net-api (in ksi-net-api.dll) Version: 3.11.534.0 (3.11.534.0)
Syntax
public static ulong DecodeUnsignedLong(
	byte[] buf,
	int ofs,
	int len,
	bool checkLeadingZeros = false
)

Parameters

buf
Type: SystemByte
byte array
ofs
Type: SystemInt32
data offset
len
Type: SystemInt32
data length
checkLeadingZeros (Optional)
Type: SystemBoolean
check that byte array does not contains leading zeros

Return Value

Type: UInt64
unsigned long
See Also