MCPcopy Create free account
hub / github.com/christkv/node-git / readBit

Function readBit

lib/zlib/zlib.js:150–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148 };
149
150 function readBit(){
151 var carry;
152 bits++;
153 carry = (bb & 1);
154 bb >>= 1;
155 if (bb==0){
156 bb = readByte();
157 carry = (bb & 1);
158 bb = (bb>>1) | 0x80;
159 }
160 return carry;
161 };
162
163 function readBits(a) {
164 var res = 0,

Callers 3

readBitsFunction · 0.85
DecodeValueFunction · 0.85
DeflateLoopFunction · 0.85

Calls 1

readByteFunction · 0.85

Tested by

no test coverage detected