research/brotlidump.py
def metablockLength(self):
        """Read MNIBBLES and meta block length;
        if empty block, skip block and return true.
        """
        self.MLEN = self.verboseRead(MetablockLengthAlphabet())
        if self.MLEN:
            return False
        #empty block; skip and return False
        self.verboseRead(ReservedAlphabet())
        MSKIP = self.verboseRead(SkipLengthAlphabet())
        self.verboseRead(FillerAlphabet(streamPos=self.stream.pos))
        self.stream.pos += 8*MSKIP
        print("Skipping to {:x}".format(self.stream.pos>>3))
        return True
def metablockLength(self):
        self.MLEN = self.verboseRead(MetablockLengthAlphabet())
        if self.MLEN:
            return False
        #empty block; skip and return False
        self.verboseRead(ReservedAlphabet())
        MSKIP = self.verboseRead(SkipLengthAlphabet())
        self.verboseRead(FillerAlphabet(streamPos=self.stream.pos))
        self.stream.pos += 8*MSKIP
        print("Skipping to {:x}".format(self.stream.pos>>3))
        return True
def metablockLength ( self ) : self . MLEN = self . verboseRead ( MetablockLengthAlphabet ( ) ) if self . MLEN : return False #empty block; skip and return False self . verboseRead ( ReservedAlphabet ( ) ) MSKIP = self . verboseRead ( SkipLengthAlphabet ( ) ) self . verboseRead ( FillerAlphabet ( streamPos = self . stream . pos ) ) self . stream . pos += 8 * MSKIP print ( "Skipping to {:x}" . format ( self . stream . pos >> 3 ) ) return True
Read MNIBBLES and meta block length;
        if empty block, skip block and return true.
Read MNIBBLES and meta block length ; if empty block skip block and return true .