类 PngFile.SeekableChannelReader

  • 所有已实现的接口:
    AutoCloseable
    封闭类:
    PngFile

    @Environment(CLIENT)
    static class PngFile.SeekableChannelReader
    extends PngFile.Reader
    Mappings:
    Namespace Name
    official dok$c
    intermediary net/minecraft/class_1050$class_1053
    named net/minecraft/client/util/PngFile$SeekableChannelReader
    • 字段详细资料

      • channel

        private final SeekableByteChannel channel
        Mappings:
        Namespace Name Mixin selector
        official b Ldok$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;
    • 构造器详细资料

      • SeekableChannelReader

        private SeekableChannelReader​(SeekableByteChannel channel)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldok$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
    • 方法详细资料

      • read

        public int read​(long data,
                        int size)
                 throws IOException
        指定者:
        read 在类中 PngFile.Reader
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official b Ldok$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
        指定者:
        skip 在类中 PngFile.Reader
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Ldok$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)
        覆盖:
        eof 在类中 PngFile.Reader
        Mappings:
        Namespace Name Mixin selector
        official a Ldok$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
        指定者:
        close 在接口中 AutoCloseable
        指定者:
        close 在类中 PngFile.Reader
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official close Ldok$a;close()V
        intermediary close Lnet/minecraft/class_1050$class_1051;close()V
        named close Lnet/minecraft/client/util/PngFile$Reader;close()V