ReadBE64

Read a big-endian 64-bit integer from a byte buffer.

Synopsis

Declared in <crypto/common.h>

template<ByteType B>
uint64_t
ReadBE64(B const* ptr);

Return Value

The decoded host-order value.

Parameters

NameDescription
ptrPointer to at least 8 readable bytes.