Documentation for method write-ubits assembled from the following pages:

Role: Buf §

From Buf

(Buf) method write-ubits §

Defined as:

method write-ubits(buf8:D: uint $posuint $bitsUInt:D $value --> Nil)

Writes an unsigned integer value to 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-ubits §

Defined as:

method write-ubits(buf8: uint $posuint $bitsUInt:D $value --> buf8:D)

Writes an unsigned integer value to the bits from the given bit offset and given number of bits. The endianness of the bits is assumed to be BigEndian.