Stream.readSome()

DESCRIPTION

Read some bytes from a stream.

This function blocks until stream is read or the stream is closed or end of file. If end of file is reached or the stream is aborted an exception is thrown.

DECLARATION

    public byte[] readSome() throws NabtoEOFException

PARAMETERS

None.

ERRORS

Throws the following exceptions:

None.

RETURN VALUES

bytes read.

EXAMPLES

None.