Class PngInfo.StbReader

java.lang.Object
com.mojang.blaze3d.platform.PngInfo.StbReader
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
PngInfo.StbReaderBufferedChannel, PngInfo.StbReaderSeekableByteChannel
Enclosing class:
PngInfo

abstract static class PngInfo.StbReader extends Object implements AutoCloseable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
     
    (package private) int
    eof​(long p_85219_)
     
    protected abstract int
    read​(long p_85227_, int p_85228_)
     
    (package private) int
    read​(long p_85224_, long p_85225_, int p_85226_)
     
    protected abstract void
    skip​(int p_85218_)
     
    (package private) void
    skip​(long p_85221_, int p_85222_)
     

    Methods inherited from class java.lang.Object

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

    • closed

      protected boolean closed
  • Constructor Details

    • StbReader

      StbReader()
  • Method Details

    • read

      int read(long p_85224_, long p_85225_, int p_85226_)
    • skip

      void skip(long p_85221_, int p_85222_)
    • eof

      int eof(long p_85219_)
    • read

      protected abstract int read(long p_85227_, int p_85228_) throws IOException
      Throws:
      IOException
    • skip

      protected abstract void skip(int p_85218_) throws IOException
      Throws:
      IOException
    • close

      public abstract void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Throws:
      IOException