public class it.unimi.dsi.fastutil.io.FastBufferedInputStream extends it.unimi.dsi.fastutil.io.MeasurableInputStream implements it.unimi.dsi.fastutil.io.RepositionableStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: it.unimi.dsi.fastutil.io.FastBufferedInputStream
super_class: it.unimi.dsi.fastutil.io.MeasurableInputStream
{
public static final int DEFAULT_BUFFER_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8192
public static final java.util.EnumSet<it.unimi.dsi.fastutil.io.FastBufferedInputStream$LineTerminator> ALL_TERMINATORS;
descriptor: Ljava/util/EnumSet;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/EnumSet<Lit/unimi/dsi/fastutil/io/FastBufferedInputStream$LineTerminator;>;
protected java.io.InputStream is;
descriptor: Ljava/io/InputStream;
flags: (0x0004) ACC_PROTECTED
protected byte[] buffer;
descriptor: [B
flags: (0x0004) ACC_PROTECTED
protected int pos;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected long readBytes;
descriptor: J
flags: (0x0004) ACC_PROTECTED
protected int avail;
descriptor: I
flags: (0x0004) ACC_PROTECTED
private java.nio.channels.FileChannel fileChannel;
descriptor: Ljava/nio/channels/FileChannel;
flags: (0x0002) ACC_PRIVATE
private it.unimi.dsi.fastutil.io.RepositionableStream repositionableStream;
descriptor: Lit/unimi/dsi/fastutil/io/RepositionableStream;
flags: (0x0002) ACC_PRIVATE
private it.unimi.dsi.fastutil.io.MeasurableStream measurableStream;
descriptor: Lit/unimi/dsi/fastutil/io/MeasurableStream;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lit/unimi/dsi/fastutil/io/FastBufferedInputStream$LineTerminator;
invokestatic java.util.EnumSet.allOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
putstatic it.unimi.dsi.fastutil.io.FastBufferedInputStream.ALL_TERMINATORS:Ljava/util/EnumSet;
return
LocalVariableTable:
Start End Slot Name Signature
private static int ensureBufferSize(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iload 0
ifgt 1
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Illegal buffer size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
iload 0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 bufferSize I
MethodParameters:
Name Flags
bufferSize final
public void <init>(java.io.InputStream, byte[]);
descriptor: (Ljava/io/InputStream;[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial it.unimi.dsi.fastutil.io.MeasurableInputStream.<init>:()V
1: aload 0
aload 1
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.is:Ljava/io/InputStream;
2: aload 2
arraylength
invokestatic it.unimi.dsi.fastutil.io.FastBufferedInputStream.ensureBufferSize:(I)I
pop
3: aload 0
aload 2
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.buffer:[B
4: aload 1
instanceof it.unimi.dsi.fastutil.io.RepositionableStream
ifeq 5
aload 0
aload 1
checkcast it.unimi.dsi.fastutil.io.RepositionableStream
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.repositionableStream:Lit/unimi/dsi/fastutil/io/RepositionableStream;
5: StackMap locals: it.unimi.dsi.fastutil.io.FastBufferedInputStream java.io.InputStream byte[]
StackMap stack:
aload 1
instanceof it.unimi.dsi.fastutil.io.MeasurableStream
ifeq 6
aload 0
aload 1
checkcast it.unimi.dsi.fastutil.io.MeasurableStream
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.measurableStream:Lit/unimi/dsi/fastutil/io/MeasurableStream;
6: StackMap locals:
StackMap stack:
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.repositionableStream:Lit/unimi/dsi/fastutil/io/RepositionableStream;
ifnonnull 14
7: aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc "getChannel"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
aload 1
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.nio.channels.FileChannel
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.fileChannel:Ljava/nio/channels/FileChannel;
8: goto 14
9: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
pop
goto 14
10: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
goto 14
11: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
pop
goto 14
12: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
pop
goto 14
13: StackMap locals:
StackMap stack: java.lang.ClassCastException
pop
14: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
0 15 1 is Ljava/io/InputStream;
0 15 2 buffer [B
Exception table:
from to target type
7 8 9 Class java.lang.IllegalAccessException
7 8 10 Class java.lang.IllegalArgumentException
7 8 11 Class java.lang.NoSuchMethodException
7 8 12 Class java.lang.reflect.InvocationTargetException
7 8 13 Class java.lang.ClassCastException
MethodParameters:
Name Flags
is final
buffer final
public void <init>(java.io.InputStream, int);
descriptor: (Ljava/io/InputStream;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokestatic it.unimi.dsi.fastutil.io.FastBufferedInputStream.ensureBufferSize:(I)I
newarray 8
invokespecial it.unimi.dsi.fastutil.io.FastBufferedInputStream.<init>:(Ljava/io/InputStream;[B)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
0 2 1 is Ljava/io/InputStream;
0 2 2 bufferSize I
MethodParameters:
Name Flags
is final
bufferSize final
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
sipush 8192
invokespecial it.unimi.dsi.fastutil.io.FastBufferedInputStream.<init>:(Ljava/io/InputStream;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
0 2 1 is Ljava/io/InputStream;
MethodParameters:
Name Flags
is final
protected boolean noMoreCharacters();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
ifne 6
1: aload 0
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.is:Ljava/io/InputStream;
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.buffer:[B
invokevirtual java.io.InputStream.read:([B)I
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
2: aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
ifgt 5
3: aload 0
iconst_0
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
Exceptions:
throws java.io.IOException
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual it.unimi.dsi.fastutil.io.FastBufferedInputStream.noMoreCharacters:()Z
ifeq 1
iconst_m1
ireturn
1: StackMap locals:
StackMap stack:
aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
iconst_1
isub
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
2: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
lconst_1
ladd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
3: aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.buffer:[B
aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
dup_x1
iconst_1
iadd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
baload
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
Exceptions:
throws java.io.IOException
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
if_icmpgt 6
1: aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.buffer:[B
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
aload 1
iload 2
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
iload 3
iadd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
3: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
iload 3
isub
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
4: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
iload 3
i2l
ladd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
5: iload 3
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
istore 4
start local 4 7: aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.buffer:[B
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
aload 1
iload 2
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 0
aload 0
iconst_0
dup_x1
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
9: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
iload 4
i2l
ladd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
10: iload 3
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.buffer:[B
arraylength
if_icmple 17
11: aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.is:Ljava/io/InputStream;
aload 1
iload 2
iload 4
iadd
iload 3
iload 4
isub
invokevirtual java.io.InputStream.read:([BII)I
istore 5
start local 5 12: iload 5
ifle 13
aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
iload 5
i2l
ladd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
13: StackMap locals: int int
StackMap stack:
iload 5
ifge 15
iload 4
ifne 14
iconst_m1
goto 16
StackMap locals:
StackMap stack:
14: iload 4
goto 16
StackMap locals:
StackMap stack:
15: iload 5
iload 4
iadd
StackMap locals:
StackMap stack: int
16: ireturn
end local 5 17: StackMap locals:
StackMap stack:
aload 0
invokevirtual it.unimi.dsi.fastutil.io.FastBufferedInputStream.noMoreCharacters:()Z
ifeq 20
iload 4
ifne 18
iconst_m1
goto 19
StackMap locals:
StackMap stack:
18: iload 4
StackMap locals:
StackMap stack: int
19: ireturn
20: StackMap locals:
StackMap stack:
iload 3
iload 4
isub
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 21: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
iload 5
i2l
ladd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
22: aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.buffer:[B
iconst_0
aload 1
iload 2
iload 4
iadd
iload 5
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
23: aload 0
iload 5
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
24: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
iload 5
isub
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
25: iload 5
iload 4
iadd
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 26 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
0 26 1 b [B
0 26 2 offset I
0 26 3 length I
7 26 4 head I
12 17 5 result I
21 26 5 toRead I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b final
offset final
length final
public int readLine(byte[]);
descriptor: ([B)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
getstatic it.unimi.dsi.fastutil.io.FastBufferedInputStream.ALL_TERMINATORS:Ljava/util/EnumSet;
invokevirtual it.unimi.dsi.fastutil.io.FastBufferedInputStream.readLine:([BIILjava/util/EnumSet;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
0 1 1 array [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
array final
public int readLine(byte[], java.util.EnumSet<it.unimi.dsi.fastutil.io.FastBufferedInputStream$LineTerminator>);
descriptor: ([BLjava/util/EnumSet;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_0
aload 1
arraylength
aload 2
invokevirtual it.unimi.dsi.fastutil.io.FastBufferedInputStream.readLine:([BIILjava/util/EnumSet;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
0 1 1 array [B
0 1 2 terminators Ljava/util/EnumSet<Lit/unimi/dsi/fastutil/io/FastBufferedInputStream$LineTerminator;>;
Exceptions:
throws java.io.IOException
Signature: ([BLjava/util/EnumSet<Lit/unimi/dsi/fastutil/io/FastBufferedInputStream$LineTerminator;>;)I
MethodParameters:
Name Flags
array final
terminators final
public int readLine(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
getstatic it.unimi.dsi.fastutil.io.FastBufferedInputStream.ALL_TERMINATORS:Ljava/util/EnumSet;
invokevirtual it.unimi.dsi.fastutil.io.FastBufferedInputStream.readLine:([BIILjava/util/EnumSet;)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
0 1 1 array [B
0 1 2 off I
0 1 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
array final
off final
len final
public int readLine(byte[], int, int, java.util.EnumSet<it.unimi.dsi.fastutil.io.FastBufferedInputStream$LineTerminator>);
descriptor: ([BIILjava/util/EnumSet;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
iload 2
iload 3
invokestatic it.unimi.dsi.fastutil.bytes.ByteArrays.ensureOffsetLength:([BII)V
1: iload 3
ifne 2
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual it.unimi.dsi.fastutil.io.FastBufferedInputStream.noMoreCharacters:()Z
ifeq 3
iconst_m1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 4: iload 3
istore 7
start local 7 5: iconst_0
istore 8
start local 8 6: StackMap locals: it.unimi.dsi.fastutil.io.FastBufferedInputStream byte[] int int java.util.EnumSet top int int int
StackMap stack:
iconst_0
istore 5
start local 5 7: goto 9
StackMap locals: it.unimi.dsi.fastutil.io.FastBufferedInputStream byte[] int int java.util.EnumSet int int int int
StackMap stack:
8: iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
if_icmpge 10
iload 5
iload 7
if_icmpge 10
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.buffer:[B
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
iload 5
iadd
baload
dup
istore 6
bipush 10
if_icmpeq 10
iload 6
bipush 13
if_icmpne 8
10: StackMap locals:
StackMap stack:
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.buffer:[B
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
aload 1
iload 2
iload 8
iadd
iload 5
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
iload 5
iadd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
12: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
iload 5
isub
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
13: iload 8
iload 5
iadd
istore 8
14: iload 7
iload 5
isub
istore 7
15: iload 7
ifne 18
16: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
iload 8
i2l
ladd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
17: iload 8
ireturn
18: StackMap locals:
StackMap stack:
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
ifle 57
19: iload 6
bipush 10
if_icmpne 28
20: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
iconst_1
iadd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
21: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
iconst_1
isub
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
22: aload 4
getstatic it.unimi.dsi.fastutil.io.FastBufferedInputStream$LineTerminator.LF:Lit/unimi/dsi/fastutil/io/FastBufferedInputStream$LineTerminator;
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ifeq 25
23: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
iload 8
iconst_1
iadd
i2l
ladd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
24: iload 8
ireturn
25: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 8
iinc 8 1
iadd
bipush 10
bastore
26: iinc 7 -1
27: goto 6
28: StackMap locals:
StackMap stack:
iload 6
bipush 13
if_icmpne 6
29: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
iconst_1
iadd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
30: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
iconst_1
isub
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
31: aload 4
getstatic it.unimi.dsi.fastutil.io.FastBufferedInputStream$LineTerminator.CR_LF:Lit/unimi/dsi/fastutil/io/FastBufferedInputStream$LineTerminator;
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ifeq 51
32: aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
ifle 38
33: aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.buffer:[B
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
baload
bipush 10
if_icmpne 51
34: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
iconst_1
iadd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
35: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
iconst_1
isub
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
36: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
iload 8
iconst_2
iadd
i2l
ladd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
37: iload 8
ireturn
38: StackMap locals:
StackMap stack:
aload 0
invokevirtual it.unimi.dsi.fastutil.io.FastBufferedInputStream.noMoreCharacters:()Z
ifeq 46
39: aload 4
getstatic it.unimi.dsi.fastutil.io.FastBufferedInputStream$LineTerminator.CR:Lit/unimi/dsi/fastutil/io/FastBufferedInputStream$LineTerminator;
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ifne 44
40: aload 1
iload 2
iload 8
iinc 8 1
iadd
bipush 13
bastore
41: iinc 7 -1
42: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
iload 8
i2l
ladd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
43: goto 45
44: StackMap locals:
StackMap stack:
aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
iload 8
iconst_1
iadd
i2l
ladd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
45: StackMap locals:
StackMap stack:
iload 8
ireturn
46: StackMap locals:
StackMap stack:
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.buffer:[B
iconst_0
baload
bipush 10
if_icmpne 51
47: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
iconst_1
iadd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
48: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
iconst_1
isub
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
49: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
iload 8
iconst_2
iadd
i2l
ladd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
50: iload 8
ireturn
51: StackMap locals:
StackMap stack:
aload 4
getstatic it.unimi.dsi.fastutil.io.FastBufferedInputStream$LineTerminator.CR:Lit/unimi/dsi/fastutil/io/FastBufferedInputStream$LineTerminator;
invokevirtual java.util.EnumSet.contains:(Ljava/lang/Object;)Z
ifeq 54
52: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
iload 8
iconst_1
iadd
i2l
ladd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
53: iload 8
ireturn
54: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 8
iinc 8 1
iadd
bipush 13
bastore
55: iinc 7 -1
56: goto 6
57: StackMap locals:
StackMap stack:
aload 0
invokevirtual it.unimi.dsi.fastutil.io.FastBufferedInputStream.noMoreCharacters:()Z
ifeq 6
58: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
iload 8
i2l
ladd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
59: iload 8
ireturn
end local 8 end local 7 end local 6 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 60 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
0 60 1 array [B
0 60 2 off I
0 60 3 len I
0 60 4 terminators Ljava/util/EnumSet<Lit/unimi/dsi/fastutil/io/FastBufferedInputStream$LineTerminator;>;
7 60 5 i I
4 60 6 k I
5 60 7 remaining I
6 60 8 read I
Exceptions:
throws java.io.IOException
Signature: ([BIILjava/util/EnumSet<Lit/unimi/dsi/fastutil/io/FastBufferedInputStream$LineTerminator;>;)I
MethodParameters:
Name Flags
array final
off final
len final
terminators final
public void position(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
lstore 3
start local 3 1: lload 1
lload 3
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
i2l
ladd
lcmp
ifgt 6
lload 1
lload 3
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
i2l
lsub
lcmp
iflt 6
2: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
i2l
lload 1
lload 3
lsub
ladd
l2i
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
3: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
i2l
lload 1
lload 3
lsub
lsub
l2i
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
4: aload 0
lload 1
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
5: return
6: StackMap locals: long
StackMap stack:
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.repositionableStream:Lit/unimi/dsi/fastutil/io/RepositionableStream;
ifnull 7
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.repositionableStream:Lit/unimi/dsi/fastutil/io/RepositionableStream;
lload 1
invokeinterface it.unimi.dsi.fastutil.io.RepositionableStream.position:(J)V
goto 9
7: StackMap locals:
StackMap stack:
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.fileChannel:Ljava/nio/channels/FileChannel;
ifnull 8
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.fileChannel:Ljava/nio/channels/FileChannel;
lload 1
invokevirtual java.nio.channels.FileChannel.position:(J)Ljava/nio/channels/FileChannel;
pop
goto 9
8: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
ldc "position() can only be called if the underlying byte stream implements the RepositionableStream interface or if the getChannel() method of the underlying byte stream exists and returns a FileChannel"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
lload 1
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
10: aload 0
aload 0
iconst_0
dup_x1
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
11: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
0 12 1 newPosition J
1 12 3 position J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
newPosition
public long position();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
Exceptions:
throws java.io.IOException
public long length();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.measurableStream:Lit/unimi/dsi/fastutil/io/MeasurableStream;
ifnull 1
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.measurableStream:Lit/unimi/dsi/fastutil/io/MeasurableStream;
invokeinterface it.unimi.dsi.fastutil.io.MeasurableStream.length:()J
lreturn
1: StackMap locals:
StackMap stack:
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.fileChannel:Ljava/nio/channels/FileChannel;
ifnull 2
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.fileChannel:Ljava/nio/channels/FileChannel;
invokevirtual java.nio.channels.FileChannel.size:()J
lreturn
2: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
Exceptions:
throws java.io.IOException
private long skipByReading(long);
descriptor: (J)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: lload 1
lstore 3
start local 3 1: goto 4
2: StackMap locals: long
StackMap stack:
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.is:Ljava/io/InputStream;
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.buffer:[B
iconst_0
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.buffer:[B
arraylength
i2l
lload 3
invokestatic java.lang.Math.min:(JJ)J
l2i
invokevirtual java.io.InputStream.read:([BII)I
istore 5
start local 5 3: iload 5
ifle 5
lload 3
iload 5
i2l
lsub
lstore 3
end local 5 4: StackMap locals:
StackMap stack:
lload 3
lconst_0
lcmp
ifgt 2
5: StackMap locals:
StackMap stack:
lload 1
lload 3
lsub
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
0 6 1 n J
1 6 3 toSkip J
3 4 5 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n final
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: lload 1
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
i2l
lcmp
ifgt 6
1: lload 1
l2i
istore 3
start local 3 2: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
iload 3
iadd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
3: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
iload 3
isub
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
4: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
lload 1
ladd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
5: lload 1
lreturn
end local 3 6: StackMap locals:
StackMap stack:
lload 1
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
i2l
lsub
lstore 3
start local 3 7: lconst_0
lstore 5
start local 5 8: aload 0
iconst_0
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
9: goto 15
10: StackMap locals: long long
StackMap stack:
lload 5
lconst_0
lcmp
ifne 14
11: aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.is:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
iconst_m1
if_icmpne 12
goto 18
12: StackMap locals:
StackMap stack:
lload 3
lconst_1
lsub
lstore 3
13: goto 15
14: StackMap locals:
StackMap stack:
lload 3
lload 5
lsub
lstore 3
15: StackMap locals:
StackMap stack:
lload 3
lconst_0
lcmp
ifeq 18
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.is:Ljava/io/InputStream;
getstatic java.lang.System.in:Ljava/io/InputStream;
if_acmpne 16
aload 0
lload 3
invokevirtual it.unimi.dsi.fastutil.io.FastBufferedInputStream.skipByReading:(J)J
goto 17
StackMap locals:
StackMap stack:
16: aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.is:Ljava/io/InputStream;
lload 3
invokevirtual java.io.InputStream.skip:(J)J
StackMap locals:
StackMap stack: long
17: dup2
lstore 5
lload 3
lcmp
iflt 10
18: StackMap locals:
StackMap stack:
lload 1
lload 3
lload 5
lsub
lsub
lstore 7
start local 7 19: aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
lload 7
ladd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
20: lload 7
lreturn
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
0 21 1 n J
2 6 3 m I
7 21 3 toSkip J
8 21 5 result J
19 21 7 t J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n final
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.is:Ljava/io/InputStream;
invokevirtual java.io.InputStream.available:()I
i2l
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
i2l
ladd
ldc 2147483647
invokestatic java.lang.Math.min:(JJ)J
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
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
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.is:Ljava/io/InputStream;
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.is:Ljava/io/InputStream;
getstatic java.lang.System.in:Ljava/io/InputStream;
if_acmpeq 2
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.is:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.is:Ljava/io/InputStream;
3: aload 0
aconst_null
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.buffer:[B
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
Exceptions:
throws java.io.IOException
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.is:Ljava/io/InputStream;
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
aload 0
dup
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
aload 0
getfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
i2l
ladd
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.readBytes:J
2: aload 0
aload 0
iconst_0
dup_x1
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.pos:I
putfield it.unimi.dsi.fastutil.io.FastBufferedInputStream.avail:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual it.unimi.dsi.fastutil.io.FastBufferedInputStream.flush:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lit/unimi/dsi/fastutil/io/FastBufferedInputStream;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
}
SourceFile: "FastBufferedInputStream.java"
NestMembers:
it.unimi.dsi.fastutil.io.FastBufferedInputStream$LineTerminator
InnerClasses:
public final LineTerminator = it.unimi.dsi.fastutil.io.FastBufferedInputStream$LineTerminator of it.unimi.dsi.fastutil.io.FastBufferedInputStream