IStream.ReadSomeAsync()
DESCRIPTION
Read some bytes from a stream without blocking. The returned Task can fail with:
STOPPEDif the stream was stopped.OPERATION_IN_PROGRESSif another read is in progress.EOFif eof is reached
DECLARATION
System.Threading.Tasks.Task`1[System.Byte[]] ReadSomeAsync(Int32)
PARAMETERS
max: The max number of bytes to read
ERRORS
T:Nabto.Edge.Client.NabtoException: Thrown with error codeSTOPPEDif the stream was stopped.T:Nabto.Edge.Client.NabtoException: Thrown with error codeOPERATION_IN_PROGRESSif another read is in progress.T:Nabto.Edge.Client.NabtoException: Thrown with error codeEOFif eof is reached.
RETURNS
The Task that will complete when the bytes are ready.