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

Method tell

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

Source from the content-addressed store, hash-verified

55 def dropbytes(self, n = 1):
56 self.dropbits(n << 3)
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

Callers 2

tellbitsMethod · 0.95
gzip_mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected