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 axp
-
Field Summary
Modifier and TypeFieldDescriptionprivate final byte[]
private static final int
private int
private int
private final InputStream
-
Constructor Summary
ConstructorDescriptionFixedBufferInputStream
(InputStream stream) FixedBufferInputStream
(InputStream stream, int size) -
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferTo
-
Field Details
-
DEFAULT_BUFFER_SIZE
private 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
Laxp;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
Laxp;b:Ljava/io/InputStream;
-
buf
private 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
Laxp;c:[B
-
end
private 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
Laxp;d:I
-
start
private 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
Laxp;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>
Laxp;<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>
Laxp;<init>(Ljava/io/InputStream;I)V
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- 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
Laxp;read([BII)I
-
skip
- Overrides:
skip
in classInputStream
- 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
Laxp;skip(J)J
-
available
- Overrides:
available
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-
getAvailableBuffer
private 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
Laxp;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
Laxp;b()V
-