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.178 -- Release Build+e530c5c0e31352f3de7b5819173c826f4dd2c6c7
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