Interface FinishableStream

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long finish()
      Reads remaining data and returns size of all data processed by this stream.
      long getLength()
      Returns size of data processed so far.
    • Method Detail

      • finish

        long finish()
             throws java.io.IOException
        Reads remaining data and returns size of all data processed by this stream.
        Returns:
        size of data in bytes
        Throws:
        java.io.IOException - if input/output error occurs
      • getLength

        long getLength()
        Returns size of data processed so far.
        Returns:
        size of data in bytes