Class PngSizeInfo.ReaderSeekable

  • All Implemented Interfaces:
    java.lang.AutoCloseable
    Enclosing class:
    PngSizeInfo

    static class PngSizeInfo.ReaderSeekable
    extends PngSizeInfo.Reader
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.nio.channels.SeekableByteChannel channel  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ReaderSeekable​(java.nio.channels.SeekableByteChannel p_i48134_1_)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      int eof​(long p_195685_1_)  
      int read​(long p_195683_1_, int p_195683_3_)  
      void skip​(int p_195684_1_)  
      • Methods inherited from class java.lang.Object

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

      • channel

        private final java.nio.channels.SeekableByteChannel channel
    • Constructor Detail

      • ReaderSeekable

        private ReaderSeekable​(java.nio.channels.SeekableByteChannel p_i48134_1_)
    • Method Detail

      • read

        public int read​(long p_195683_1_,
                        int p_195683_3_)
                 throws java.io.IOException
        Specified by:
        read in class PngSizeInfo.Reader
        Throws:
        java.io.IOException
      • skip

        public void skip​(int p_195684_1_)
                  throws java.io.IOException
        Specified by:
        skip in class PngSizeInfo.Reader
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in class PngSizeInfo.Reader
        Throws:
        java.io.IOException