tailhead/__init__.py
def read(self, read_size=-1):
        """
        Read given number of bytes from file.
        :param read_size: Number of bytes to read. -1 to read all.
        :return: Number of bytes read and data that was read.
        """
        read_str = self.file.read(read_size)
        return len(read_str), read_str
def read(self, read_size=-1):
        """
        Read given number of bytes from file.
        :param read_size: Number of bytes to read. -1 to read all.
        :return: Number of bytes read and data that was read.
        """
        read_str = self.file.read(read_size)
        return len(read_str), read_str
def read ( self , read_size = - 1 ) : read_str = self . file . read ( read_size ) return len ( read_str ) , read_str
Read given number of bytes from file.
        :param read_size: Number of bytes to read. -1 to read all.
        :return: Number of bytes read and data that was read.
Read given number of bytes from file . : param read_size : Number of bytes to read . - 1 to read all . : return : Number of bytes read and data that was read .