|  | @@ -63,7 +63,7 @@ public class RNFetchBlobDefaultResp extends ResponseBody {
 | 
	
		
			
			| 63 | 63 |          public long read(Buffer sink, long byteCount) throws IOException {
 | 
	
		
			
			| 64 | 64 |  
 | 
	
		
			
			| 65 | 65 |              long read =  mOriginalSource.read(sink, byteCount);
 | 
	
		
			
			| 66 |  | -            bytesRead += read;
 | 
	
		
			
			|  | 66 | +            bytesRead += read > 0 ? read : 0;
 | 
	
		
			
			| 67 | 67 |              WritableMap args = Arguments.createMap();
 | 
	
		
			
			| 68 | 68 |              args.putString("taskId", mTaskId);
 | 
	
		
			
			| 69 | 69 |              args.putString("written", String.valueOf(bytesRead));
 |