Write the nbits least significant bits of a 64-bit int to the output stream. Data is buffered until it completes an octet.
Declared in <streams.h>
void
Write(
uint64_t data,
int nbits);
| Name | Description |
|---|---|
| data | Value whose low nbits bits are written. |
| nbits | Number of bits to write, between 0 and 64. |