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 dyw$bintermediary net/minecraft/class_1050$class_1052named net/minecraft/client/util/PngFile$ChannelReader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate longprivate static final intprivate intprivate intprivate final ReadableByteChannelprivate intFields inherited from class net.minecraft.client.util.PngFile.Reader
errored -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intread(long data, int size) private voidreadToBuffer(int size) voidskip(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 bLdyw$b;b:Iintermediary field_32035Lnet/minecraft/class_1050$class_1052;field_32035:Inamed BUFFER_SIZELnet/minecraft/client/util/PngFile$ChannelReader;BUFFER_SIZE:I
-
channel
- Mappings:
Namespace Name Mixin selector official cLdyw$b;c:Ljava/nio/channels/ReadableByteChannel;intermediary field_5229Lnet/minecraft/class_1050$class_1052;field_5229:Ljava/nio/channels/ReadableByteChannel;named channelLnet/minecraft/client/util/PngFile$ChannelReader;channel:Ljava/nio/channels/ReadableByteChannel;
-
buffer
private long buffer- Mappings:
Namespace Name Mixin selector official dLdyw$b;d:Jintermediary field_5233Lnet/minecraft/class_1050$class_1052;field_5233:Jnamed bufferLnet/minecraft/client/util/PngFile$ChannelReader;buffer:J
-
bufferSize
private int bufferSize- Mappings:
Namespace Name Mixin selector official eLdyw$b;e:Iintermediary field_5232Lnet/minecraft/class_1050$class_1052;field_5232:Inamed bufferSizeLnet/minecraft/client/util/PngFile$ChannelReader;bufferSize:I
-
bufferPosition
private int bufferPosition- Mappings:
Namespace Name Mixin selector official fLdyw$b;f:Iintermediary field_5231Lnet/minecraft/class_1050$class_1052;field_5231:Inamed bufferPositionLnet/minecraft/client/util/PngFile$ChannelReader;bufferPosition:I
-
readPosition
private int readPosition- Mappings:
Namespace Name Mixin selector official gLdyw$b;g:Iintermediary field_5230Lnet/minecraft/class_1050$class_1052;field_5230:Inamed readPositionLnet/minecraft/client/util/PngFile$ChannelReader;readPosition:I
-
-
Constructor Details
-
ChannelReader
ChannelReader(ReadableByteChannel channel) - Mappings:
Namespace Name Mixin selector official <init>Ldyw$b;<init>(Ljava/nio/channels/ReadableByteChannel;)Vintermediary <init>Lnet/minecraft/class_1050$class_1052;<init>(Ljava/nio/channels/ReadableByteChannel;)Vnamed <init>Lnet/minecraft/client/util/PngFile$ChannelReader;<init>(Ljava/nio/channels/ReadableByteChannel;)V
-
-
Method Details
-
readToBuffer
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLdyw$b;b(I)Vintermediary method_4548Lnet/minecraft/class_1050$class_1052;method_4548(I)Vnamed readToBufferLnet/minecraft/client/util/PngFile$ChannelReader;readToBuffer(I)V
-
read
- Specified by:
readin classPngFile.Reader- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLdyw$a;b(JI)Iintermediary method_4544Lnet/minecraft/class_1050$class_1051;method_4544(JI)Inamed readLnet/minecraft/client/util/PngFile$Reader;read(JI)I
-
skip
- Specified by:
skipin classPngFile.Reader- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLdyw$a;a(I)Vintermediary method_4545Lnet/minecraft/class_1050$class_1051;method_4545(I)Vnamed skipLnet/minecraft/client/util/PngFile$Reader;skip(I)V
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classPngFile.Reader- Throws:
IOException
-