readAll
fun readAll(count: ULong, cancellable: Cancellable? = null, onException: (Exception) -> Unit? = null): Array<Byte>
Content copied to clipboard
See also
Parameters
onException
if set, will provide exception that way, and returns an array of bytes that were collected before the exception occured
Throws
if onException is not stated.