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.167 -- Release Build+327f7394dcedeaebafc0dd7a935c53bbb45ff86a
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