ios.readpartial(maxlen) â stringios.readpartial(maxlen, outbuf) â outbuf
Instance Public methods
Reads at most maxlen bytes from the I/O stream. It blocks only if
ios has no data immediately available. It doesn't block if
some data available. If the optional outbuf argument is present,
it must reference a String, which will receive the data. The
outbuf will contain only the received data after the method call
even if it is not empty at the beginning. It raises EO