Package com.mojang.blaze3d.platform
Class PngInfo.StbReaderBufferedChannel
java.lang.Object
com.mojang.blaze3d.platform.PngInfo.StbReader
com.mojang.blaze3d.platform.PngInfo.StbReaderBufferedChannel
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- PngInfo
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private ReadableByteChannel
private int
private int
private long
private static int
Fields inherited from class com.mojang.blaze3d.platform.PngInfo.StbReader
closed
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private void
fillReadBuffer(int p_85243_)
int
read(long p_85245_, int p_85246_)
void
skip(int p_85241_)
Methods inherited from class com.mojang.blaze3d.platform.PngInfo.StbReader
eof, read, skip
-
Field Details
-
START_BUFFER_SIZE
private static final int START_BUFFER_SIZE- See Also:
- Constant Field Values
-
channel
-
readBufferAddress
private long readBufferAddress -
bufferSize
private int bufferSize -
read
private int read -
consumed
private int consumed
-
-
Constructor Details
-
StbReaderBufferedChannel
StbReaderBufferedChannel(ReadableByteChannel p_85236_)
-
-
Method Details
-
fillReadBuffer
- Throws:
IOException
-
read
- Specified by:
read
in classPngInfo.StbReader
- Throws:
IOException
-
skip
- Specified by:
skip
in classPngInfo.StbReader
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classPngInfo.StbReader
- Throws:
IOException
-