Package net.minecraft.client.util
Class PngFile.ChannelReader
java.lang.Object
net.minecraft.client.util.PngFile.Reader
net.minecraft.client.util.PngFile.ChannelReader
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
PngFile
- Mappings:
Namespace Name official dso$b
intermediary net/minecraft/class_1050$class_1052
named net/minecraft/client/util/PngFile$ChannelReader
-
Field Summary
Modifier and TypeFieldDescriptionprivate long
private static final int
private int
private int
private final ReadableByteChannel
private int
Fields inherited from class net.minecraft.client.util.PngFile.Reader
errored
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
read
(long data, int size) private void
readToBuffer
(int size) void
skip
(int n) Methods inherited from class net.minecraft.client.util.PngFile.Reader
eof, read, skip
-
Field Details
-
BUFFER_SIZE
private static final int BUFFER_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official b
Ldso$b;b:I
intermediary field_32035
Lnet/minecraft/class_1050$class_1052;field_32035:I
named BUFFER_SIZE
Lnet/minecraft/client/util/PngFile$ChannelReader;BUFFER_SIZE:I
-
channel
- Mappings:
Namespace Name Mixin selector official c
Ldso$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
Ldso$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
Ldso$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
Ldso$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
Ldso$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
-
-
Constructor Details
-
ChannelReader
ChannelReader(ReadableByteChannel channel) - Mappings:
Namespace Name Mixin selector official <init>
Ldso$b;<init>(Ljava/nio/channels/ReadableByteChannel;)V
intermediary <init>
Lnet/minecraft/class_1050$class_1052;<init>(Ljava/nio/channels/ReadableByteChannel;)V
named <init>
Lnet/minecraft/client/util/PngFile$ChannelReader;<init>(Ljava/nio/channels/ReadableByteChannel;)V
-
-
Method Details
-
readToBuffer
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Ldso$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
- Specified by:
read
in classPngFile.Reader
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Ldso$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
- Specified by:
skip
in classPngFile.Reader
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Ldso$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
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classPngFile.Reader
- Throws:
IOException
-