Blake2BCoreUInt64ToBytes Method
Store a ulong into a byte buffer as big-endian.
Namespace: Gemstone.Security.Cryptography.Blake2BHashAssembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.166 -- Release Build+3ac73912f52c3309a818fcc8cd731758651aaeae
public static void UInt64ToBytes(
ulong value,
byte[] buf,
int offset
)
Public Shared Sub UInt64ToBytes (
value As ULong,
buf As Byte(),
offset As Integer
)
Gemstone.Security.Cryptography.Blake2BHash.Blake2BCore.UInt64ToBytes = function(value, buf, 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.
No checking is done to validate the buffer can store value at offset.