public abstract class java.io.InputStream implements java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.io.InputStream
super_class: java.lang.Object
{
private static final int MAX_SKIP_BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2048
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/io/InputStream;
public abstract int read();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public int read(byte[]);
descriptor: ([B)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual java.io.InputStream.read:([BII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/io/InputStream;
0 1 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iload 2
iflt 3
iload 3
iflt 3
iload 3
aload 1
arraylength
iload 2
isub
if_icmple 4
3: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
iload 3
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.InputStream.read:()I
istore 4
start local 4 7: iload 4
iconst_m1
if_icmpne 9
8: iconst_m1
ireturn
9: StackMap locals: int
StackMap stack:
aload 1
iload 2
iload 4
i2b
bastore
10: iconst_1
istore 5
start local 5 11: goto 17
12: StackMap locals: int
StackMap stack:
aload 0
invokevirtual java.io.InputStream.read:()I
istore 4
13: iload 4
iconst_m1
if_icmpne 15
14: goto 20
15: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 5
iadd
iload 4
i2b
bastore
16: iinc 5 1
StackMap locals:
StackMap stack:
17: iload 5
iload 3
if_icmplt 12
18: goto 20
StackMap locals:
StackMap stack: java.io.IOException
19: pop
20: StackMap locals:
StackMap stack:
iload 5
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljava/io/InputStream;
0 21 1 b [B
0 21 2 off I
0 21 3 len I
7 21 4 c I
11 21 5 i I
Exception table:
from to target type
11 18 19 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=2
start local 0 start local 1 0: lload 1
lstore 3
start local 3 1: lload 1
lconst_0
lcmp
ifgt 3
2: lconst_0
lreturn
3: StackMap locals: long
StackMap stack:
ldc 2048
lload 3
invokestatic java.lang.Math.min:(JJ)J
l2i
istore 6
start local 6 4: iload 6
newarray 8
astore 7
start local 7 5: goto 10
6: StackMap locals: java.io.InputStream long long top int byte[]
StackMap stack:
aload 0
aload 7
iconst_0
iload 6
i2l
lload 3
invokestatic java.lang.Math.min:(JJ)J
l2i
invokevirtual java.io.InputStream.read:([BII)I
istore 5
start local 5 7: iload 5
ifge 9
8: goto 11
9: StackMap locals: java.io.InputStream long long int int byte[]
StackMap stack:
lload 3
iload 5
i2l
lsub
lstore 3
end local 5 10: StackMap locals: java.io.InputStream long long top int byte[]
StackMap stack:
lload 3
lconst_0
lcmp
ifgt 6
11: StackMap locals:
StackMap stack:
lload 1
lload 3
lsub
lreturn
end local 7 end local 6 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/io/InputStream;
0 12 1 n J
1 12 3 remaining J
7 10 5 nr I
4 12 6 size I
5 12 7 skipBuffer [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
public synchronized void mark(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/io/InputStream;
0 1 1 readlimit I
MethodParameters:
Name Flags
readlimit
public synchronized void reset();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.io.IOException
dup
ldc "mark/reset not supported"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/io/InputStream;
}
SourceFile: "InputStream.java"