This update alters the NIO calls to make them compatible with Android, which does not always read buffers to completion.
It also alters the routines so that all logical reads are done via a streams 'outermost' wrapper to ensure different data is actually read sequentially.
Additionally, some BufferedInputStream wrappers in some of the deeper methods have been moved up.
These changes have been successfully tested on Android API 22.
This update alters the NIO calls to make them compatible with Android, which does not always read buffers to completion.
It also alters the routines so that all logical reads are done via a streams 'outermost' wrapper to ensure different data is actually read sequentially.
Additionally, some BufferedInputStream wrappers in some of the deeper methods have been moved up.
These changes have been successfully tested on Android API 22.