Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hotfix alloc crash, when no read data avail. (#24)
* This fixes a Swift allocation crash, when attempting to allocate an internally managed buffer with a capacity of 0 (zero), if there's no read data available for the data copy - we early out and return nil.
- Loading branch information