StreamPeer.getPartialData

Returns a chunk data with the received bytes. The amount of bytes to be received can be requested in the "bytes" argument. If not enough bytes are available, the function will return how many were actually received. This function returns two values, an @GlobalScope.error code, and a data array.

struct StreamPeer
@nogc nothrow
Array
getPartialData
(
in long bytes
)

Meta