mirror of
https://github.com/apache/cordova-plugin-file-transfer.git
synced 2026-04-28 00:02:49 +08:00
8374b3dd67ecdb62423ff55ccb9d0a4454cfe4a4
InputStream.read(byte[] buffer) calls InputStream.read(byte[] bytes, int offset, int count). As SimpleTrackingInputStream overrides both these methods a call to SimpleTrackingInputStream.read(byte[] buffer) results in a call to SimpleTrackingInputStream.read(byte[] bytes, int offset, int count) - and two calls to SimpleTrackingInputStream.updateBytesRead, so the counter bytesRead gets incremented twice for each read.
org.apache.cordova.file-transfer
Plugin documentation: doc/index.md
Description
Languages
JavaScript
57%
Java
22.8%
Objective-C
20.2%