Documentation for method read-bits assembled from the following pages:

Role: Blob §

From Blob

(Blob) method read-bits §

Defined as:

method read-bits(blob8:D: uint $posuint $bits --> Int:D)

Returns 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.