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
FieldsModifier and TypeFieldDescriptionprivate intprivate final ReadableByteChannelprivate intprivate intprivate longFields inherited from class net.minecraft.client.renderer.texture.PngSizeInfo.Reader
closed -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private voidfillReadBuffer(int p_195688_1_) intread(long p_195683_1_, int p_195683_3_) voidskip(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:
readin classPngSizeInfo.Reader- Throws:
IOException
-
skip
- Specified by:
skipin classPngSizeInfo.Reader- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classPngSizeInfo.Reader- Throws:
IOException
-