reads a requested number of bytes from the connection.
This method is blocking, meaning that it always returns a bytesequence
with the requested number of bytes, unless it has reached end of file (which
often means, that close() has been called).
please see also the readSomeBytes() method of XConnection2.
Returns
The read number of bytes.
The return value and the length of the
returned sequence must be identical.
Parameter nBytesToRead
The number of bytes to be read from the stream.
Throws
com::sun::star::io::IOException
in case an error occurred during reading from the stream.
This string is different from the arguments to XConnection::accept
and XConnector::connect. In general, the string contains an additional
handle value. For example, "socket,host=localhost,port=2002,uniqueValue=2324".