Class PngSizeInfo.ReaderSeekable
- java.lang.Object
-
- net.minecraft.client.renderer.texture.PngSizeInfo.Reader
-
- net.minecraft.client.renderer.texture.PngSizeInfo.ReaderSeekable
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Enclosing class:
- PngSizeInfo
static class PngSizeInfo.ReaderSeekable extends PngSizeInfo.Reader
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.channels.SeekableByteChannel
channel
-
Fields inherited from class net.minecraft.client.renderer.texture.PngSizeInfo.Reader
closed
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ReaderSeekable(java.nio.channels.SeekableByteChannel p_i48134_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
eof(long p_195685_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
read, skip
-
-
-
-
Method Detail
-
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
-
eof
public int eof(long p_195685_1_)
- Overrides:
eof
in classPngSizeInfo.Reader
-
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
-
-