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 int
bufferSize
private java.nio.channels.ReadableByteChannel
channel
private int
consumed
private int
read
private long
readBufferAddress
-
Fields inherited from class net.minecraft.client.renderer.texture.PngSizeInfo.Reader
closed
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ReaderBuffer(java.nio.channels.ReadableByteChannel p_i48136_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
-
-
-
-
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:
read
in classPngSizeInfo.Reader
- Throws:
java.io.IOException
-
skip
public void skip(int p_195684_1_) throws java.io.IOException
- Specified by:
skip
in classPngSizeInfo.Reader
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in classPngSizeInfo.Reader
- Throws:
java.io.IOException
-
-