Class PngFile.Reader

java.lang.Object
net.minecraft.client.util.PngFile.Reader
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
PngFile.ChannelReader, PngFile.SeekableChannelReader
Enclosing class:
PngFile

@Environment(CLIENT) private abstract static class PngFile.Reader extends Object implements AutoCloseable
Mappings:
Namespace Name
official dpm$a
intermediary net/minecraft/class_1050$class_1051
named net/minecraft/client/util/PngFile$Reader
  • 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 user)
     
    protected abstract int
    read​(long data, int size)
     
    (package private) int
    read​(long user, long data, int size)
     
    protected abstract void
    skip​(int n)
     
    (package private) void
    skip​(long user, int n)
     

    Methods inherited from class java.lang.Object

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

    • errored

      protected boolean errored
      Mappings:
      Namespace Name Mixin selector
      official a Ldpm$a;a:Z
      intermediary field_5228 Lnet/minecraft/class_1050$class_1051;field_5228:Z
      named errored Lnet/minecraft/client/util/PngFile$Reader;errored:Z
  • Constructor Details

    • Reader

      Reader()
  • Method Details

    • read

      int read(long user, long data, int size)
      Mappings:
      Namespace Name Mixin selector
      official a Ldpm$a;a(JJI)I
      intermediary method_4543 Lnet/minecraft/class_1050$class_1051;method_4543(JJI)I
      named read Lnet/minecraft/client/util/PngFile$Reader;read(JJI)I
    • skip

      void skip(long user, int n)
      Mappings:
      Namespace Name Mixin selector
      official a Ldpm$a;a(JI)V
      intermediary method_4547 Lnet/minecraft/class_1050$class_1051;method_4547(JI)V
      named skip Lnet/minecraft/client/util/PngFile$Reader;skip(JI)V
    • eof

      int eof(long user)
      Mappings:
      Namespace Name Mixin selector
      official a Ldpm$a;a(J)I
      intermediary method_4546 Lnet/minecraft/class_1050$class_1051;method_4546(J)I
      named eof Lnet/minecraft/client/util/PngFile$Reader;eof(J)I
    • read

      protected abstract int read(long data, int size) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Ldpm$a;b(JI)I
      intermediary method_4544 Lnet/minecraft/class_1050$class_1051;method_4544(JI)I
      named read Lnet/minecraft/client/util/PngFile$Reader;read(JI)I
    • skip

      protected abstract void skip(int n) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Ldpm$a;a(I)V
      intermediary method_4545 Lnet/minecraft/class_1050$class_1051;method_4545(I)V
      named skip Lnet/minecraft/client/util/PngFile$Reader;skip(I)V
    • close

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