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 official arg
intermediary net/minecraft/class_6826
named net/minecraft/util/FixedBufferInputStream
-
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 official a
Larg;a:I
intermediary field_36209
Lnet/minecraft/class_6826;field_36209:I
named DEFAULT_BUFFER_SIZE
Lnet/minecraft/util/FixedBufferInputStream;DEFAULT_BUFFER_SIZE:I
-
stream
- Mappings:
Namespace Name Mixin selector official b
Larg;b:Ljava/io/InputStream;
intermediary field_36210
Lnet/minecraft/class_6826;field_36210:Ljava/io/InputStream;
named stream
Lnet/minecraft/util/FixedBufferInputStream;stream:Ljava/io/InputStream;
-
buf
private final byte[] buf- Mappings:
Namespace Name Mixin selector official c
Larg;c:[B
intermediary field_36211
Lnet/minecraft/class_6826;field_36211:[B
named buf
Lnet/minecraft/util/FixedBufferInputStream;buf:[B
-
end
private int end- Mappings:
Namespace Name Mixin selector official d
Larg;d:I
intermediary field_36212
Lnet/minecraft/class_6826;field_36212:I
named end
Lnet/minecraft/util/FixedBufferInputStream;end:I
-
start
private int start- Mappings:
Namespace Name Mixin selector official e
Larg;e:I
intermediary field_36213
Lnet/minecraft/class_6826;field_36213:I
named start
Lnet/minecraft/util/FixedBufferInputStream;start:I
-
-
Constructor Details
-
FixedBufferInputStream
- Mappings:
Namespace Name Mixin selector official <init>
Larg;<init>(Ljava/io/InputStream;)V
intermediary <init>
Lnet/minecraft/class_6826;<init>(Ljava/io/InputStream;)V
named <init>
Lnet/minecraft/util/FixedBufferInputStream;<init>(Ljava/io/InputStream;)V
-
FixedBufferInputStream
- Mappings:
Namespace Name Mixin selector official <init>
Larg;<init>(Ljava/io/InputStream;I)V
intermediary <init>
Lnet/minecraft/class_6826;<init>(Ljava/io/InputStream;I)V
named <init>
Lnet/minecraft/util/FixedBufferInputStream;<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 official read
Larg;read([BII)I
intermediary read
Lnet/minecraft/class_6826;read([BII)I
named read
Lnet/minecraft/util/FixedBufferInputStream;read([BII)I
-
skip
- Overrides:
skip
in classInputStream
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official skip
Larg;skip(J)J
intermediary skip
Lnet/minecraft/class_6826;skip(J)J
named skip
Lnet/minecraft/util/FixedBufferInputStream;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 official a
Larg;a()I
intermediary method_39779
Lnet/minecraft/class_6826;method_39779()I
named getAvailableBuffer
Lnet/minecraft/util/FixedBufferInputStream;getAvailableBuffer()I
-
fill
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Larg;b()V
intermediary method_39780
Lnet/minecraft/class_6826;method_39780()V
named fill
Lnet/minecraft/util/FixedBufferInputStream;fill()V
-