[#BitStreamWriter-Write]
= xref:BitStreamWriter.adoc[BitStreamWriter]::Write
:relfileprefix: ../
:mrdocs:

Write the nbits least significant bits of a 64&hyphen;bit int to the output stream&period; Data is buffered until it completes an octet&period;

== Synopsis

Declared in `&lt;streams&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
Write(
    uint64&lowbar;t data,
    int nbits);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *data*
| Value whose low `nbits` bits are written&period;
| *nbits*
| Number of bits to write, between 0 and 64&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
