Package net.minecraft.util
Class FastBufferedInputStream
java.lang.Object
java.io.InputStream
net.minecraft.util.FastBufferedInputStream
- All Implemented Interfaces:
- Closeable,- AutoCloseable
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final byte[]private static final intprivate final InputStreamprivate intprivate int
- 
Constructor SummaryConstructorsConstructorDescriptionFastBufferedInputStream(InputStream p_196566_) FastBufferedInputStream(InputStream p_196568_, int p_196569_) 
- 
Method SummaryMethods inherited from class java.io.InputStreammark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferTo
- 
Field Details- 
DEFAULT_BUFFER_SIZEprivate static final int DEFAULT_BUFFER_SIZE- See Also:
 
- 
in
- 
bufferprivate final byte[] buffer
- 
limitprivate int limit
- 
positionprivate int position
 
- 
- 
Constructor Details- 
FastBufferedInputStream
- 
FastBufferedInputStream
 
- 
- 
Method Details- 
read- Specified by:
- readin class- InputStream
- Throws:
- IOException
 
- 
read- Overrides:
- readin class- InputStream
- Throws:
- IOException
 
- 
skip- Overrides:
- skipin class- InputStream
- Throws:
- IOException
 
- 
available- Overrides:
- availablein class- InputStream
- Throws:
- IOException
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- InputStream
- Throws:
- IOException
 
- 
bytesInBufferprivate int bytesInBuffer()
- 
fill- Throws:
- IOException
 
 
-