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)
Syntaxpublic static ulong DecodeUnsignedLong(
byte[] buf,
int ofs,
int len,
bool checkLeadingZeros = false
)
Public Shared Function DecodeUnsignedLong (
buf As Byte(),
ofs As Integer,
len As Integer,
Optional checkLeadingZeros As Boolean = false
) As ULong
public:
static unsigned long long DecodeUnsignedLong(
array<unsigned char>^ buf,
int ofs,
int len,
bool checkLeadingZeros = false
)
static member DecodeUnsignedLong :
buf : byte[] *
ofs : int *
len : int *
?checkLeadingZeros : bool
(* Defaults:
let _checkLeadingZeros = defaultArg checkLeadingZeros false
*)
-> uint64
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:
UInt64unsigned long
See Also