Class PngSizeInfo.Reader
java.lang.Object
net.minecraft.client.renderer.texture.PngSizeInfo.Reader
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
PngSizeInfo.ReaderBuffer
,PngSizeInfo.ReaderSeekable
- Enclosing class:
- PngSizeInfo
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
close()
(package private) int
eof
(long p_195685_1_) protected abstract int
read
(long p_195683_1_, int p_195683_3_) (package private) int
read
(long p_195682_1_, long p_195682_3_, int p_195682_5_) protected abstract void
skip
(int p_195684_1_) (package private) void
skip
(long p_195686_1_, int p_195686_3_)
-
Field Details
-
closed
protected boolean closed
-
-
Constructor Details
-
Reader
private Reader()
-
-
Method Details
-
read
int read(long p_195682_1_, long p_195682_3_, int p_195682_5_) -
skip
void skip(long p_195686_1_, int p_195686_3_) -
eof
int eof(long p_195685_1_) -
read
- Throws:
IOException
-
skip
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-