IStream.ReadAllAsync()
DESCRIPTION
Read an exact amount of bytes from a stream.
DECLARATION
System.Threading.Tasks.Task`1[System.Byte[]] ReadAllAsync(Int32)
PARAMETERS
bytes
: The number of bytes to read
ERRORS
T:Nabto.Edge.Client.NabtoException
: Thrown with error codeSTOPPED
if the stream was stopped.T:Nabto.Edge.Client.NabtoException
: Thrown with error codeOPERATION_IN_PROGRESS
if another read is in progress.T:Nabto.Edge.Client.NabtoException
: Thrown with error codeEOF
if eof is reached.
RETURNS
The Task that will complete when the bytes are ready.