Return the bit value at the specified index in bitString.

Synopsis

Declared in <bdlb_bitstringutil.h>

static
bool
bit(
    uint64_t const* bitString,
    std::size_t index);

Description

Return the bit value at the specified index in the specified bitString. The behavior is undefined unless index is less than the length of bitString.

Return Value

value of the bit at index

Parameters

Name

Description

bitString

bit string to read

index

bit position to read

Created with MrDocs