Stream.readSomeCallback()

DESCRIPTION

Read some bytes from a stream without blocking. See Stream.readSome() for possible error codes.

DECLARATION

    public void readSomeCallback(NabtoCallback<byte[]> callback) throws NabtoEOFException

PARAMETERS

callback:
The callback that will be run when the bytes are ready.