Posts May 2019

Count bytes while writing to a file using CountingOutputStream from commons io package

Sometimes it is useful to know how many bytes have already been written to an output stream in Java. In this post we will use CountingOutputStream to achieve this goal easily.

Continue Reading