class org.bouncycastle.mime.LineReader
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.mime.LineReader
super_class: java.lang.Object
{
private final java.io.InputStream src;
descriptor: Ljava/io/InputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int lastC;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield org.bouncycastle.mime.LineReader.lastC:I
2: aload 0
aload 1
putfield org.bouncycastle.mime.LineReader.src:Ljava/io/InputStream;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/mime/LineReader;
0 4 1 src Ljava/io/InputStream;
MethodParameters:
Name Flags
src
java.lang.String readLine();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.bouncycastle.mime.LineReader.lastC:I
iconst_m1
if_icmpeq 7
2: aload 0
getfield org.bouncycastle.mime.LineReader.lastC:I
bipush 13
if_icmpne 4
3: ldc ""
areturn
4: StackMap locals: java.io.ByteArrayOutputStream
StackMap stack:
aload 0
getfield org.bouncycastle.mime.LineReader.lastC:I
istore 2
start local 2 5: aload 0
iconst_m1
putfield org.bouncycastle.mime.LineReader.lastC:I
6: goto 11
end local 2 7: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.mime.LineReader.src:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 2
start local 2 8: goto 11
9: StackMap locals: int
StackMap stack:
aload 1
iload 2
invokevirtual java.io.ByteArrayOutputStream.write:(I)V
10: aload 0
getfield org.bouncycastle.mime.LineReader.src:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 2
11: StackMap locals:
StackMap stack:
iload 2
iflt 12
iload 2
bipush 13
if_icmpeq 12
iload 2
bipush 10
if_icmpne 9
12: StackMap locals:
StackMap stack:
iload 2
bipush 13
if_icmpne 16
13: aload 0
getfield org.bouncycastle.mime.LineReader.src:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 3
start local 3 14: iload 3
bipush 10
if_icmpeq 16
iload 3
iflt 16
15: aload 0
iload 3
putfield org.bouncycastle.mime.LineReader.lastC:I
end local 3 16: StackMap locals:
StackMap stack:
iload 2
ifge 18
17: aconst_null
areturn
18: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
invokestatic org.bouncycastle.util.Strings.fromUTF8ByteArray:([B)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/bouncycastle/mime/LineReader;
1 19 1 bOut Ljava/io/ByteArrayOutputStream;
5 7 2 ch I
8 19 2 ch I
14 16 3 c I
Exceptions:
throws java.io.IOException
}
SourceFile: "LineReader.java"