(self, buff_limit=8)
return True
Load next byte is buffer is less than buff_limit
        :param buff_limit:
        :return: True if there is enough bits in buffer to read
Load next byte is buffer is less than buff_limit
        :param buff_limit:
        :return: True if there is enough bits in buffer to read
Load next byte is buffer is less than buff_limit : param buff_limit : : return : True if there is enough bits in buffer to read
def _load_byte(self, buff_limit=8) -> bool:
        """
        Load next byte is buffer is less than buff_limit
        :param buff_limit:
        :return: True if there is enough bits in buffer to read
        """
        if len(self.buffer) <= buff_limit:
            byte = self.file.read(1)

            if not byte:
                return False

            i = int.from_bytes(byte, "big")
            self.buffer.extend(list("{0:08b}".format(i)))

        return True
def _load_byte ( self , buff_limit = 8 ) -> bool : if len ( self . buffer ) <= buff_limit : byte = self . file . read ( 1 ) if not byte : return False i = int . from_bytes ( byte , "big" ) self . buffer . extend ( list ( "{0:08b}" . format ( i ) ) ) return True