Class PngSizeInfo.ReaderBuffer
- java.lang.Object
-
- net.minecraft.client.renderer.texture.PngSizeInfo.Reader
-
- net.minecraft.client.renderer.texture.PngSizeInfo.ReaderBuffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Enclosing class:
- PngSizeInfo
static class PngSizeInfo.ReaderBuffer extends PngSizeInfo.Reader
-
-
Field Summary
Fields Modifier and Type Field Description private intbufferSizeprivate java.nio.channels.ReadableByteChannelchannelprivate intconsumedprivate intreadprivate longreadBufferAddress-
Fields inherited from class net.minecraft.client.renderer.texture.PngSizeInfo.Reader
closed
-
-
Constructor Summary
Constructors Modifier Constructor Description privateReaderBuffer(java.nio.channels.ReadableByteChannel p_i48136_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()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
-
-
-
-
Method Detail
-
fillReadBuffer
private void fillReadBuffer(int p_195688_1_) throws java.io.IOException- Throws:
java.io.IOException
-
read
public int read(long p_195683_1_, int p_195683_3_) throws java.io.IOException- Specified by:
readin classPngSizeInfo.Reader- Throws:
java.io.IOException
-
skip
public void skip(int p_195684_1_) throws java.io.IOException- Specified by:
skipin classPngSizeInfo.Reader- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein classPngSizeInfo.Reader- Throws:
java.io.IOException
-
-