Package net.minecraft.util
Class FixedBufferInputStream
java.lang.Object
java.io.InputStream
net.minecraft.util.FixedBufferInputStream
- All Implemented Interfaces:
- Closeable,- AutoCloseable
A buffered input stream that uses a fixed-size buffer array.
- Mappings:
- Namespace - Name - named - net/minecraft/util/FixedBufferInputStream- intermediary - net/minecraft/class_6826- official - ayj
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final byte[]private static final intprivate intprivate intprivate final InputStream
- 
Constructor SummaryConstructorsConstructorDescriptionFixedBufferInputStream(InputStream stream) FixedBufferInputStream(InputStream stream, int size) 
- 
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:
- Mappings:
- Namespace - Name - Mixin selector - named - DEFAULT_BUFFER_SIZE- Lnet/minecraft/util/FixedBufferInputStream;DEFAULT_BUFFER_SIZE:I- intermediary - field_36209- Lnet/minecraft/class_6826;field_36209:I- official - a- Layj;a:I
 
- 
stream- Mappings:
- Namespace - Name - Mixin selector - named - stream- Lnet/minecraft/util/FixedBufferInputStream;stream:Ljava/io/InputStream;- intermediary - field_36210- Lnet/minecraft/class_6826;field_36210:Ljava/io/InputStream;- official - b- Layj;b:Ljava/io/InputStream;
 
- 
bufprivate final byte[] buf- Mappings:
- Namespace - Name - Mixin selector - named - buf- Lnet/minecraft/util/FixedBufferInputStream;buf:[B- intermediary - field_36211- Lnet/minecraft/class_6826;field_36211:[B- official - c- Layj;c:[B
 
- 
endprivate int end- Mappings:
- Namespace - Name - Mixin selector - named - end- Lnet/minecraft/util/FixedBufferInputStream;end:I- intermediary - field_36212- Lnet/minecraft/class_6826;field_36212:I- official - d- Layj;d:I
 
- 
startprivate int start- Mappings:
- Namespace - Name - Mixin selector - named - start- Lnet/minecraft/util/FixedBufferInputStream;start:I- intermediary - field_36213- Lnet/minecraft/class_6826;field_36213:I- official - e- Layj;e:I
 
 
- 
- 
Constructor Details- 
FixedBufferInputStream- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/util/FixedBufferInputStream;<init>(Ljava/io/InputStream;)V- intermediary - <init>- Lnet/minecraft/class_6826;<init>(Ljava/io/InputStream;)V- official - <init>- Layj;<init>(Ljava/io/InputStream;)V
 
- 
FixedBufferInputStream- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/util/FixedBufferInputStream;<init>(Ljava/io/InputStream;I)V- intermediary - <init>- Lnet/minecraft/class_6826;<init>(Ljava/io/InputStream;I)V- official - <init>- Layj;<init>(Ljava/io/InputStream;I)V
 
 
- 
- 
Method Details- 
read- Specified by:
- readin class- InputStream
- Throws:
- IOException
 
- 
read- Overrides:
- readin class- InputStream
- Throws:
- IOException
- Mappings:
- Namespace - Name - Mixin selector - named - read- Lnet/minecraft/util/FixedBufferInputStream;read([BII)I- intermediary - read- Lnet/minecraft/class_6826;read([BII)I- official - read- Layj;read([BII)I
 
- 
skip- Overrides:
- skipin class- InputStream
- Throws:
- IOException
- Mappings:
- Namespace - Name - Mixin selector - named - skip- Lnet/minecraft/util/FixedBufferInputStream;skip(J)J- intermediary - skip- Lnet/minecraft/class_6826;skip(J)J- official - skip- Layj;skip(J)J
 
- 
available- Overrides:
- availablein class- InputStream
- Throws:
- IOException
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- InputStream
- Throws:
- IOException
 
- 
getAvailableBufferprivate int getAvailableBuffer()- Mappings:
- Namespace - Name - Mixin selector - named - getAvailableBuffer- Lnet/minecraft/util/FixedBufferInputStream;getAvailableBuffer()I- intermediary - method_39779- Lnet/minecraft/class_6826;method_39779()I- official - a- Layj;a()I
 
- 
fill- Throws:
- IOException
- Mappings:
- Namespace - Name - Mixin selector - named - fill- Lnet/minecraft/util/FixedBufferInputStream;fill()V- intermediary - method_39780- Lnet/minecraft/class_6826;method_39780()V- official - b- Layj;b()V
 
 
-