# method write-bits

Documentation for method `write-bits`

assembled from the following types:

# role Buf

From Buf

## (Buf) method write-bits

Defined as:

method write-bits(buf8: uint , uint , Int --> Nil)

Writes a signed integer value for the **bits** from the given **bit** offset and given number of bits. The endianness of the bits is assumed to be `BigEndian`

. Always returns Nil.

# role Buf

From Buf

## (Buf) method write-bits

Defined as:

method write-bits(buf8: uint , uint , Int --> buf8)

Writes a signed integer value for the **bits** from the given **bit** offset and given number of bits. The endianness of the bits is assumed to be `BigEndian`

.