Open
Description
Previous ID | SR-2107 |
Radar | None |
Original Reporter | sandmman (JIRA User) |
Type | Bug |
Environment
OSX Xcode 8
Additional Detail from JIRA
Votes | 1 |
Component/s | libdispatch |
Labels | Bug, SDKOverlay |
Assignee | None |
Priority | Medium |
md5: 8a4cf83f85fd0da59a4731c667e0be19
Issue Description:
Although the previous iteration of dispatch_io_read() allows you to pass the value SIZE_MAX as the length in order to read the entire file until an EOF character is reached, DispatchIO.read() no longer supports this. Instead giving the value ```Int.max``` leads the channel to wait indefinitely until the max size is available to read.