Format to the specified output stream the specified low-order numBits in the specified bitString in hexadecimal, and return a reference to stream. The highest order bits are printed first, in groups of 16 nibbles, 64 nibbles per line (in the case of multi-line output). Optionally specify level, the indentation level for each line output. Optionally specify spacesPerLevel, the number of spaces per indentation level. Each line is indented by the absolute value of level * spacesPerLevel. If spacesPerLevel is negative, suppress line breaks and format the entire output on one line. If stream is initially invalid, this operation has no effect. Note that a trailing newline is provided in multiline mode only.
Declared in <bdlb_bitstringutil.h>
static
std::ostream&
print(
std::ostream& stream,
uint64_t const* bitString,
std::size_t numBits,
int level = 1,
int spacesPerLevel = 4);