MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / addbits

Method addbits

Libraries/unrar/getbits.hpp:25–30  ·  view source on GitHub ↗

Move forward by 'Bits' bits.

Source from the content-addressed store, hash-verified

23
24 // Move forward by 'Bits' bits.
25 void addbits(uint Bits)
26 {
27 Bits+=InBit;
28 InAddr+=Bits>>3;
29 InBit=Bits&7;
30 }
31
32 // Return 16 bits from current position in the buffer.
33 // Bit at (InAddr,InBit) has the highest position in returning data.

Callers 12

DecodeNumberMethod · 0.80
SlotToLengthMethod · 0.80
Unpack5Method · 0.80
ReadFilterDataMethod · 0.80
ReadBlockHeaderMethod · 0.80
Unpack29Method · 0.80
ReadEndOfBlockMethod · 0.80
ReadVMCodeMethod · 0.80
UnpackDecodeMethod · 0.80
UnpackLargeBlockMethod · 0.80
Unpack20Method · 0.80
ReadTables20Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected