Package 

Class InputStreamRewinder

    • Method Summary

      Modifier and Type Method Description
      InputStream rewindAndGet() Rewinds the wrapped data back to the beginning and returns the re-wound data (or a wrapper forthe re-wound data).
      void cleanup() Called when this rewinder is no longer needed and can be cleaned up.
      void fixMarkLimits()
      • Methods inherited from class com.mobwith.imgmodule.load.data.DataRewinder

        rewindAndGet
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • rewindAndGet

        @NonNull() InputStream rewindAndGet()

        Rewinds the wrapped data back to the beginning and returns the re-wound data (or a wrapper forthe re-wound data).

      • cleanup

         void cleanup()

        Called when this rewinder is no longer needed and can be cleaned up.

        The underlying data may still be in use and should not be closed or invalidated.