Stream.readAllAsync()

DESCRIPTION

Read exactly the specified amount of bytes asynchronously.

DECLARATION

    public func readAllAsync(length: Int, closure: @escaping AsyncDataReceiver) 

PARAMETERS

length:
The number of bytes to read
closure:
Invoked when the operation completes, see synchronous readAll() for possible errors.

ERRORS

Throws the following errors:

None.

RETURN VALUES

None.

EXAMPLES

None.