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.175 -- Release Build+146c7e07986c58ce53bef2ac3da53d5efdf9e69c
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