Class PngFile.SeekableChannelReader

java.lang.Object
net.minecraft.client.util.PngFile.Reader
net.minecraft.client.util.PngFile.SeekableChannelReader
All Implemented Interfaces:
AutoCloseable
Enclosing class:
PngFile

@Environment(CLIENT)
static class PngFile.SeekableChannelReader
extends PngFile.Reader
Mappings:
Namespace Name
official dkz$c
intermediary net/minecraft/class_1050$class_1053
named net/minecraft/client/util/PngFile$SeekableChannelReader
  • Field Details

    • channel

      private final SeekableByteChannel channel
      Mappings:
      Namespace Name Mixin selector
      official b Ldkz$c;b:Ljava/nio/channels/SeekableByteChannel;
      intermediary field_5234 Lnet/minecraft/class_1050$class_1053;field_5234:Ljava/nio/channels/SeekableByteChannel;
      named channel Lnet/minecraft/client/util/PngFile$SeekableChannelReader;channel:Ljava/nio/channels/SeekableByteChannel;
  • Constructor Details

    • SeekableChannelReader

      private SeekableChannelReader​(SeekableByteChannel channel)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldkz$c;<init>(Ljava/nio/channels/SeekableByteChannel;)V
      intermediary <init> Lnet/minecraft/class_1050$class_1053;<init>(Ljava/nio/channels/SeekableByteChannel;)V
      named <init> Lnet/minecraft/client/util/PngFile$SeekableChannelReader;<init>(Ljava/nio/channels/SeekableByteChannel;)V
  • Method Details

    • read

      public int read​(long data, int size) throws IOException
      Specified by:
      read in class PngFile.Reader
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Ldkz$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

      public void skip​(int n) throws IOException
      Specified by:
      skip in class PngFile.Reader
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Ldkz$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
    • eof

      public int eof​(long user)
      Overrides:
      eof in class PngFile.Reader
      Mappings:
      Namespace Name Mixin selector
      official a Ldkz$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
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in class PngFile.Reader
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official close Ldkz$a;close()V
      intermediary close Lnet/minecraft/class_1050$class_1051;close()V
      named close Lnet/minecraft/client/util/PngFile$Reader;close()V