ChonkReader.receiveAll

Read the amount given by the size of the buffer This uses MSG_WAITALL and will only return when the full amount bytes requested is fulfilled, not just the currently available amount in the kernel network queue

Number of bytes received 0 if socket closed (follow the normal D-standard) or Socket.ERROR

ptrdiff_t is signed (long -> int, depending on arch (compiler time))

class ChonkReader
ptrdiff_t
receiveAll
(
byte[] buffer
)

Meta