Function StreamPeer.putPartialData

Sends a chunk of data through the connection. If all the data could not be sent at once, only part of it will. This function returns two values, an @GlobalScope.error code and an integer, describing how much data was actually sent.

Array putPartialData (
  const(PoolArray!(ubyte)) data
) nothrow @nogc;