MCPcopy Create free account
hub / github.com/DFHack/dfhack / advanceBits

Function advanceBits

depends/lodepng/lodepng.cpp:574–577  ·  view source on GitHub ↗

Must have enough bits available with ensureBits */

Source from the content-addressed store, hash-verified

572
573/* Must have enough bits available with ensureBits */
574static void advanceBits(LodePNGBitReader* reader, size_t nbits) {
575 reader->buffer >>= nbits;
576 reader->bp += nbits;
577}
578
579/* Must have enough bits available with ensureBits */
580static unsigned readBits(LodePNGBitReader* reader, size_t nbits) {

Callers 2

readBitsFunction · 0.85
huffmanDecodeSymbolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected