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.166 -- Release Build+3ac73912f52c3309a818fcc8cd731758651aaeae
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