MCPcopy Create free account
hub / github.com/babel/minify / tellbits

Method tellbits

scripts/pyflate.py:59–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

57 def tell(self):
58 return self.count - ((self.bits+7) >> 3), 7 - ((self.bits-1) & 0x7)
59 def tellbits(self):
60 bytes, bits = self.tell()
61 return (bytes << 3) + bits
62
63class Bitfield(BitfieldBase):
64 def _more(self):

Callers 2

decode_huffman_blockFunction · 0.80
gzip_mainFunction · 0.80

Calls 1

tellMethod · 0.95

Tested by

no test coverage detected