Read the specified number of bits from the stream. The data is returned in the nbits least significant bits of a 64‐bit uint.
Synopsis
Declared in <streams.h>
uint64_t
Read(int nbits);
Return Value
The bits read, right‐aligned in the low nbits bits of the result.
Parameters
Name |
Description |
nbits |
Number of bits to read, between 0 and 64. |
Created with MrDocs