class sun.security.ssl.ByteBufferInputStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.ssl.ByteBufferInputStream
super_class: java.io.InputStream
{
java.nio.ByteBuffer bb;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0000)
void <init>(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
aload 1
putfield sun.security.ssl.ByteBufferInputStream.bb:Ljava/nio/ByteBuffer;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/ByteBufferInputStream;
0 3 1 bb Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bb
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.ByteBufferInputStream.bb:Ljava/nio/ByteBuffer;
ifnonnull 2
1: new java.io.IOException
dup
ldc "read on a closed InputStream"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.ByteBufferInputStream.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
ifne 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.ByteBufferInputStream.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.get:()B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/ByteBufferInputStream;
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
getfield sun.security.ssl.ByteBufferInputStream.bb:Ljava/nio/ByteBuffer;
ifnonnull 2
1: new java.io.IOException
dup
ldc "read on a closed InputStream"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual sun.security.ssl.ByteBufferInputStream.read:([BII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/ByteBufferInputStream;
0 3 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=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.security.ssl.ByteBufferInputStream.bb:Ljava/nio/ByteBuffer;
ifnonnull 2
1: new java.io.IOException
dup
ldc "read on a closed InputStream"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
iload 2
iflt 5
iload 3
iflt 5
iload 3
aload 1
arraylength
iload 2
isub
if_icmple 6
5: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
iload 3
ifne 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.ByteBufferInputStream.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 3
invokestatic java.lang.Math.min:(II)I
istore 4
start local 4 9: iload 4
ifne 11
10: iconst_m1
ireturn
11: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.ssl.ByteBufferInputStream.bb:Ljava/nio/ByteBuffer;
aload 1
iload 2
iload 4
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
12: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/ssl/ByteBufferInputStream;
0 13 1 b [B
0 13 2 off I
0 13 3 len I
9 13 4 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.ByteBufferInputStream.bb:Ljava/nio/ByteBuffer;
ifnonnull 2
1: new java.io.IOException
dup
ldc "skip on a closed InputStream"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifgt 4
3: lconst_0
lreturn
4: StackMap locals:
StackMap stack:
lload 1
l2i
istore 3
start local 3 5: aload 0
getfield sun.security.ssl.ByteBufferInputStream.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 3
invokestatic java.lang.Math.min:(II)I
istore 4
start local 4 6: aload 0
getfield sun.security.ssl.ByteBufferInputStream.bb:Ljava/nio/ByteBuffer;
aload 0
getfield sun.security.ssl.ByteBufferInputStream.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
iload 4
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
7: iload 3
i2l
lreturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/ssl/ByteBufferInputStream;
0 8 1 n J
5 8 3 nInt I
6 8 4 skip I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.ByteBufferInputStream.bb:Ljava/nio/ByteBuffer;
ifnonnull 2
1: new java.io.IOException
dup
ldc "available on a closed InputStream"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.ByteBufferInputStream.bb:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/ByteBufferInputStream;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield sun.security.ssl.ByteBufferInputStream.bb:Ljava/nio/ByteBuffer;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/ByteBufferInputStream;
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 Lsun/security/ssl/ByteBufferInputStream;
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 Lsun/security/ssl/ByteBufferInputStream;
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 Lsun/security/ssl/ByteBufferInputStream;
}
SourceFile: "ByteBufferInputStream.java"