final class io.vertx.redis.client.impl.ReadableBuffer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.vertx.redis.client.impl.ReadableBuffer
super_class: java.lang.Object
{
private static final long MAX_INTEGER_DIV_10;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 922337203685477580
private static final int MARK_WATERMARK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4194304
private io.vertx.core.buffer.Buffer buffer;
descriptor: Lio/vertx/core/buffer/Buffer;
flags: (0x0002) ACC_PRIVATE
private int offset;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int mark;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
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 Lio/vertx/redis/client/impl/ReadableBuffer;
void append(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
ifnull 1
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.mark:I
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
invokestatic java.lang.Math.min:(II)I
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.buffer.Buffer.length:()I
if_icmpne 4
1: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
2: aload 0
iconst_0
putfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.mark:I
if_icmplt 10
5: aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.mark:I
ldc 4194304
if_icmple 10
6: aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.buffer.Buffer.length:()I
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.mark:I
if_icmple 10
7: aload 0
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.mark:I
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.buffer.Buffer.length:()I
invokeinterface io.vertx.core.buffer.Buffer.getBuffer:(II)Lio/vertx/core/buffer/Buffer;
putfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
8: aload 0
dup
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.mark:I
isub
putfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
9: aload 0
iconst_0
putfield io.vertx.redis.client.impl.ReadableBuffer.mark:I
10: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
aload 1
invokeinterface io.vertx.core.buffer.Buffer.appendBuffer:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/buffer/Buffer;
pop
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/redis/client/impl/ReadableBuffer;
0 12 1 chunk Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
chunk
int findLineEnd();
descriptor: ()I
flags: (0x0000)
Code:
stack=3, locals=3, args_size=1
start local 0 0: iconst_m1
istore 1
start local 1 1: aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
istore 2
start local 2 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
iload 2
invokeinterface io.vertx.core.buffer.Buffer.getByte:(I)B
bipush 10
if_icmpne 6
4: iload 2
istore 1
5: goto 8
6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.buffer.Buffer.length:()I
if_icmplt 3
end local 2 8: StackMap locals:
StackMap stack:
iload 1
ifle 9
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
iload 1
iconst_1
isub
invokeinterface io.vertx.core.buffer.Buffer.getByte:(I)B
bipush 13
if_icmpne 9
iload 1
goto 10
StackMap locals:
StackMap stack:
9: iconst_m1
StackMap locals:
StackMap stack: int
10: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/redis/client/impl/ReadableBuffer;
1 11 1 index I
2 8 2 i I
long readLong(int);
descriptor: (I)J
flags: (0x0000)
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: lconst_0
lstore 2
start local 2 1: aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
invokeinterface io.vertx.core.buffer.Buffer.getByte:(I)B
bipush 45
if_icmpne 2
iconst_1
goto 3
StackMap locals: long
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 4
start local 4 4: iload 4
ifeq 5
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
iconst_1
iadd
goto 6
StackMap locals: int
StackMap stack:
5: aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
StackMap locals:
StackMap stack: int
6: istore 5
start local 5 7: goto 14
8: StackMap locals: int
StackMap stack:
lload 2
ldc 922337203685477580
lcmp
ifle 10
9: new java.lang.ArithmeticException
dup
ldc "Overflow"
invokespecial java.lang.ArithmeticException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
iload 5
iinc 5 1
invokeinterface io.vertx.core.buffer.Buffer.getByte:(I)B
bipush 48
isub
istore 6
start local 6 11: iload 6
iflt 12
iload 6
bipush 9
if_icmple 13
12: StackMap locals: int
StackMap stack:
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Not a digit "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 6
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
lload 2
ldc 10
lmul
iload 6
i2l
lsub
lstore 2
end local 6 14: StackMap locals:
StackMap stack:
iload 5
iload 1
iconst_1
isub
if_icmplt 8
15: iload 4
ifne 16
lload 2
lneg
lstore 2
16: StackMap locals:
StackMap stack:
aload 0
iload 1
iconst_1
iadd
putfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
17: lload 2
lreturn
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/vertx/redis/client/impl/ReadableBuffer;
0 18 1 end I
1 18 2 value J
4 18 4 negative Z
7 18 5 offset I
11 14 6 digit I
MethodParameters:
Name Flags
end
io.vertx.core.buffer.Buffer readLine();
descriptor: ()Lio/vertx/core/buffer/Buffer;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.findLineEnd:()I
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.readLine:(I)Lio/vertx/core/buffer/Buffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/redis/client/impl/ReadableBuffer;
java.lang.String readLine(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.findLineEnd:()I
aload 1
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.readLine:(ILjava/nio/charset/Charset;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/redis/client/impl/ReadableBuffer;
0 1 1 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
charset
private io.vertx.core.buffer.Buffer readLine(int);
descriptor: (I)Lio/vertx/core/buffer/Buffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: iload 1
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
if_icmplt 4
2: aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
iload 1
iconst_1
isub
invokeinterface io.vertx.core.buffer.Buffer.getBuffer:(II)Lio/vertx/core/buffer/Buffer;
astore 2
3: aload 0
iload 1
iconst_1
iadd
putfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
4: StackMap locals: io.vertx.core.buffer.Buffer
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/redis/client/impl/ReadableBuffer;
0 5 1 end I
1 5 2 bytes Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
end
java.lang.String readLine(int, java.nio.charset.Charset);
descriptor: (ILjava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: iload 1
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
if_icmplt 4
2: aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
iload 1
iconst_1
isub
invokeinterface io.vertx.core.buffer.Buffer.getBytes:(II)[B
astore 3
3: aload 0
iload 1
iconst_1
iadd
putfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
4: StackMap locals: byte[]
StackMap stack:
aload 3
ifnull 6
5: new java.lang.String
dup
aload 3
aload 2
invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
areturn
6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/redis/client/impl/ReadableBuffer;
0 7 1 end I
0 7 2 charset Ljava/nio/charset/Charset;
1 7 3 bytes [B
MethodParameters:
Name Flags
end
charset
io.vertx.core.buffer.Buffer readBytes(int);
descriptor: (I)Lio/vertx/core/buffer/Buffer;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.buffer.Buffer.length:()I
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
isub
iload 1
if_icmplt 4
2: aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
iload 1
iadd
invokeinterface io.vertx.core.buffer.Buffer.getBuffer:(II)Lio/vertx/core/buffer/Buffer;
astore 2
3: aload 0
dup
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
iload 1
iadd
putfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
4: StackMap locals: io.vertx.core.buffer.Buffer
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/redis/client/impl/ReadableBuffer;
0 5 1 count I
1 5 2 bytes Lio/vertx/core/buffer/Buffer;
MethodParameters:
Name Flags
count
byte readByte();
descriptor: ()B
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
aload 0
dup
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
dup_x1
iconst_1
iadd
putfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
invokeinterface io.vertx.core.buffer.Buffer.getByte:(I)B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/redis/client/impl/ReadableBuffer;
byte getByte(int);
descriptor: (I)B
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
iload 1
invokeinterface io.vertx.core.buffer.Buffer.getByte:(I)B
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/redis/client/impl/ReadableBuffer;
0 1 1 index I
MethodParameters:
Name Flags
index
int readableBytes();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.buffer.Buffer.length:()I
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/redis/client/impl/ReadableBuffer;
void mark();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
putfield io.vertx.redis.client.impl.ReadableBuffer.mark:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/redis/client/impl/ReadableBuffer;
void reset();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.mark:I
putfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/redis/client/impl/ReadableBuffer;
int offset();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/redis/client/impl/ReadableBuffer;
boolean skip(int);
descriptor: (I)Z
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.readableBytes:()I
iload 1
if_icmplt 3
1: aload 0
dup
getfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
iload 1
iadd
putfield io.vertx.redis.client.impl.ReadableBuffer.offset:I
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/redis/client/impl/ReadableBuffer;
0 4 1 count I
MethodParameters:
Name Flags
count
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
ifnull 1
aload 0
getfield io.vertx.redis.client.impl.ReadableBuffer.buffer:Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.buffer.Buffer.toString:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: ldc "null"
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/redis/client/impl/ReadableBuffer;
}
SourceFile: "ReadableBuffer.java"