Blake2BCoreBytesToUInt64 Method

Convert a big-endian buffer into a UInt64.

Definition

Namespace: Gemstone.Security.Cryptography.Blake2BHash
Assembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.181 -- Release Build+ddfc5abcc226f4dec0986b2a0da5f8a889a81a36
public static ulong BytesToUInt64(
	byte[] buf,
	int offset
)

Parameters

buf  Byte
Buffer holding an 8-byte big-endian ulong.
offset  Int32
Offset into the buffer to start reading the ulong.

Return Value

UInt64
The parsed ulong.

Remarks

No checking is done to verify that an 8-byte value can be read from buf at offset.

See Also