Blake2BCoreUInt64ToBytes Method

Store a ulong into a byte buffer as big-endian.

Definition

Namespace: Gemstone.Security.Cryptography.Blake2BHash
Assembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.172 -- Release Build+e1d54149784e85c054df1142e76e10e30c46c26f
public static void UInt64ToBytes(
	ulong value,
	byte[] buf,
	int offset
)

Parameters

value  UInt64
The ulong to store.
buf  Byte
The buffer to load the 8-byte value into.
offset  Int32
The offset to start value at in buf.

Remarks

No checking is done to validate the buffer can store value at offset.

See Also