public class org.jruby.util.InputStreamMarkCursor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.util.InputStreamMarkCursor
super_class: java.lang.Object
{
private java.io.InputStream in;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
private int i;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int markSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int actualReadTotal;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private byte[] buf;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int endPoint;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(java.io.InputStream, int);
descriptor: (Ljava/io/InputStream;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.jruby.util.InputStreamMarkCursor.i:I
2: aload 0
iconst_0
putfield org.jruby.util.InputStreamMarkCursor.endPoint:I
3: aload 0
aload 1
putfield org.jruby.util.InputStreamMarkCursor.in:Ljava/io/InputStream;
4: aload 0
iload 2
putfield org.jruby.util.InputStreamMarkCursor.markSize:I
5: aload 0
iconst_0
newarray 8
putfield org.jruby.util.InputStreamMarkCursor.buf:[B
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/util/InputStreamMarkCursor;
0 7 1 in Ljava/io/InputStream;
0 7 2 markSize I
MethodParameters:
Name Flags
in
markSize
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.InputStreamMarkCursor.buf:[B
arraylength
ifeq 1
aload 0
getfield org.jruby.util.InputStreamMarkCursor.i:I
aload 0
getfield org.jruby.util.InputStreamMarkCursor.buf:[B
arraylength
if_icmple 6
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.InputStreamMarkCursor.buf:[B
arraylength
ifeq 3
2: aload 0
getfield org.jruby.util.InputStreamMarkCursor.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.reset:()V
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.jruby.util.InputStreamMarkCursor.buf:[B
arraylength
aload 0
getfield org.jruby.util.InputStreamMarkCursor.markSize:I
iadd
newarray 8
putfield org.jruby.util.InputStreamMarkCursor.buf:[B
4: aload 0
getfield org.jruby.util.InputStreamMarkCursor.in:Ljava/io/InputStream;
aload 0
getfield org.jruby.util.InputStreamMarkCursor.buf:[B
arraylength
aload 0
getfield org.jruby.util.InputStreamMarkCursor.markSize:I
iadd
invokevirtual java.io.InputStream.mark:(I)V
5: aload 0
aload 0
getfield org.jruby.util.InputStreamMarkCursor.in:Ljava/io/InputStream;
aload 0
getfield org.jruby.util.InputStreamMarkCursor.buf:[B
iconst_0
aload 0
getfield org.jruby.util.InputStreamMarkCursor.buf:[B
arraylength
invokevirtual java.io.InputStream.read:([BII)I
putfield org.jruby.util.InputStreamMarkCursor.actualReadTotal:I
6: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.util.InputStreamMarkCursor.i:I
aload 0
getfield org.jruby.util.InputStreamMarkCursor.actualReadTotal:I
if_icmplt 7
iconst_m1
goto 8
StackMap locals:
StackMap stack:
7: aload 0
getfield org.jruby.util.InputStreamMarkCursor.buf:[B
aload 0
dup
getfield org.jruby.util.InputStreamMarkCursor.i:I
dup_x1
iconst_1
iadd
putfield org.jruby.util.InputStreamMarkCursor.i:I
baload
StackMap locals:
StackMap stack: int
8: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/util/InputStreamMarkCursor;
Exceptions:
throws java.io.IOException
public void endPoint(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.jruby.util.InputStreamMarkCursor.i:I
iload 1
iadd
putfield org.jruby.util.InputStreamMarkCursor.endPoint:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/InputStreamMarkCursor;
0 2 1 delta I
MethodParameters:
Name Flags
delta
public void rewind();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield org.jruby.util.InputStreamMarkCursor.i:I
iconst_1
isub
putfield org.jruby.util.InputStreamMarkCursor.i:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/InputStreamMarkCursor;
public void finish();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.InputStreamMarkCursor.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.reset:()V
1: aload 0
aload 0
getfield org.jruby.util.InputStreamMarkCursor.endPoint:I
newarray 8
putfield org.jruby.util.InputStreamMarkCursor.buf:[B
2: aload 0
getfield org.jruby.util.InputStreamMarkCursor.in:Ljava/io/InputStream;
aload 0
getfield org.jruby.util.InputStreamMarkCursor.buf:[B
iconst_0
aload 0
getfield org.jruby.util.InputStreamMarkCursor.endPoint:I
invokevirtual java.io.InputStream.read:([BII)I
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/util/InputStreamMarkCursor;
Exceptions:
throws java.io.IOException
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.util.InputStreamMarkCursor.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.reset:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/util/InputStreamMarkCursor;
Exceptions:
throws java.io.IOException
}
SourceFile: "InputStreamMarkCursor.java"