'Read lines from the stream.
Args:
hint (int): Maximum number of bytes/characters to read.
Defaults to reading until EOF.
Returns:
bytes: Data read from the stream.'

def readlines(self, hint=None):

    return self._read(hint, self.stream.readlines)
