This pull request adds functionality to close streams in Android as discussed in #10.
Previously, the streams were often not closed at function exit, which led to system warnings. If possible, try-with-resources is used. In more complex situations, close() is called manually in the finally block.
This pull request adds functionality to close streams in Android as discussed in #10.
Previously, the streams were often not closed at function exit, which led to system warnings. If possible, try-with-resources is used. In more complex situations,
close()
is called manually in the finally block.