Read at most size characters from stream. Read from underlying buffer until we have size characters or we hit EOF. If size is negative or omitted, read until EOF.
io/TextIOBase.read
TextIOBase.read