Read a big‐endian 16‐bit integer from a byte buffer.
Synopsis
Declared in <crypto/common.h>
template<ByteType B>
uint16_t
ReadBE16(B const* ptr);
Return Value
The decoded host‐order value.
Parameters
Name |
Description |
ptr |
Pointer to at least 2 readable bytes. |
Created with MrDocs