Class PngSizeInfo.ReaderBuffer
java.lang.Object
net.minecraft.client.renderer.texture.PngSizeInfo.Reader
net.minecraft.client.renderer.texture.PngSizeInfo.ReaderBuffer
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- PngSizeInfo
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private final ReadableByteChannel
private int
private int
private long
Fields inherited from class net.minecraft.client.renderer.texture.PngSizeInfo.Reader
closed
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private void
fillReadBuffer
(int p_195688_1_) int
read
(long p_195683_1_, int p_195683_3_) void
skip
(int p_195684_1_) Methods inherited from class net.minecraft.client.renderer.texture.PngSizeInfo.Reader
eof, read, skip
-
Field Details
-
channel
-
readBufferAddress
private long readBufferAddress -
bufferSize
private int bufferSize -
read
private int read -
consumed
private int consumed
-
-
Constructor Details
-
ReaderBuffer
-
-
Method Details
-
fillReadBuffer
- Throws:
IOException
-
read
- Specified by:
read
in classPngSizeInfo.Reader
- Throws:
IOException
-
skip
- Specified by:
skip
in classPngSizeInfo.Reader
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classPngSizeInfo.Reader
- Throws:
IOException
-