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
FieldsModifier and TypeFieldDescriptionprivate intprivate final ReadableByteChannelprivate intprivate intprivate longprivate static final intFields inherited from class com.mojang.blaze3d.platform.PngInfo.StbReader
closed -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private voidfillReadBuffer(int p_85243_) intread(long p_85245_, int p_85246_) voidskip(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:
-
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:
readin classPngInfo.StbReader- Throws:
IOException
-
skip
- Specified by:
skipin classPngInfo.StbReader- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classPngInfo.StbReader- Throws:
IOException
-