类 PngFile.ChannelReader

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

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

      • field_32035

        private static final int field_32035
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Ldok$b;b:I
        intermediary field_32035 Lnet/minecraft/class_1050$class_1052;field_32035:I
        named field_32035 Lnet/minecraft/client/util/PngFile$ChannelReader;field_32035:I
      • channel

        private final ReadableByteChannel channel
        Mappings:
        Namespace Name Mixin selector
        official c Ldok$b;c:Ljava/nio/channels/ReadableByteChannel;
        intermediary field_5229 Lnet/minecraft/class_1050$class_1052;field_5229:Ljava/nio/channels/ReadableByteChannel;
        named channel Lnet/minecraft/client/util/PngFile$ChannelReader;channel:Ljava/nio/channels/ReadableByteChannel;
      • buffer

        private long buffer
        Mappings:
        Namespace Name Mixin selector
        official d Ldok$b;d:J
        intermediary field_5233 Lnet/minecraft/class_1050$class_1052;field_5233:J
        named buffer Lnet/minecraft/client/util/PngFile$ChannelReader;buffer:J
      • bufferSize

        private int bufferSize
        Mappings:
        Namespace Name Mixin selector
        official e Ldok$b;e:I
        intermediary field_5232 Lnet/minecraft/class_1050$class_1052;field_5232:I
        named bufferSize Lnet/minecraft/client/util/PngFile$ChannelReader;bufferSize:I
      • bufferPosition

        private int bufferPosition
        Mappings:
        Namespace Name Mixin selector
        official f Ldok$b;f:I
        intermediary field_5231 Lnet/minecraft/class_1050$class_1052;field_5231:I
        named bufferPosition Lnet/minecraft/client/util/PngFile$ChannelReader;bufferPosition:I
      • readPosition

        private int readPosition
        Mappings:
        Namespace Name Mixin selector
        official g Ldok$b;g:I
        intermediary field_5230 Lnet/minecraft/class_1050$class_1052;field_5230:I
        named readPosition Lnet/minecraft/client/util/PngFile$ChannelReader;readPosition:I
    • 构造器详细资料

    • 方法详细资料

      • readToBuffer

        private void readToBuffer​(int size)
                           throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official b Ldok$b;b(I)V
        intermediary method_4548 Lnet/minecraft/class_1050$class_1052;method_4548(I)V
        named readToBuffer Lnet/minecraft/client/util/PngFile$ChannelReader;readToBuffer(I)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
      • 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