public final class io.vertx.redis.client.impl.RESPEncoder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.vertx.redis.client.impl.RESPEncoder
super_class: java.lang.Object
{
private static final byte[] NEG_ONE;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int NUM_MAP_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 256
private static final byte[][] NUM_MAP;
descriptor: [[B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final byte[] EMPTY_BULK;
descriptor: [B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final byte[] NULL_BULK;
descriptor: [B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final byte[] EOL;
descriptor: [B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: ldc -1
invokestatic io.vertx.redis.client.impl.RESPEncoder.convert:(J)[B
putstatic io.vertx.redis.client.impl.RESPEncoder.NEG_ONE:[B
1: sipush 256
anewarray byte[]
putstatic io.vertx.redis.client.impl.RESPEncoder.NUM_MAP:[[B
2: ldc "$0\r\n\r\n"
getstatic java.nio.charset.StandardCharsets.ISO_8859_1:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
putstatic io.vertx.redis.client.impl.RESPEncoder.EMPTY_BULK:[B
3: ldc "$-1\r\n"
getstatic java.nio.charset.StandardCharsets.ISO_8859_1:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
putstatic io.vertx.redis.client.impl.RESPEncoder.NULL_BULK:[B
4: ldc "\r\n"
getstatic java.nio.charset.StandardCharsets.ISO_8859_1:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
putstatic io.vertx.redis.client.impl.RESPEncoder.EOL:[B
5: iconst_0
istore 0
start local 0 6: goto 9
7: StackMap locals: int
StackMap stack:
getstatic io.vertx.redis.client.impl.RESPEncoder.NUM_MAP:[[B
iload 0
iload 0
i2l
invokestatic io.vertx.redis.client.impl.RESPEncoder.convert:(J)[B
aastore
8: iinc 0 1
StackMap locals:
StackMap stack:
9: iload 0
sipush 256
if_icmplt 7
end local 0 10: return
LocalVariableTable:
Start End Slot Name Signature
6 10 0 i I
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/RESPEncoder;
private static byte[] convert(long);
descriptor: (J)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=9, args_size=1
start local 0 0: lload 0
lconst_0
lcmp
ifge 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: lload 0
invokestatic java.lang.Math.abs:(J)J
lstore 3
start local 3 4: lload 0
lconst_0
lcmp
ifne 5
iconst_0
goto 6
StackMap locals: int long
StackMap stack:
5: lload 3
l2d
invokestatic java.lang.Math.log10:(D)D
d2i
StackMap locals:
StackMap stack: int
6: iload 2
ifeq 7
iconst_2
goto 8
StackMap locals:
StackMap stack: int
7: iconst_1
StackMap locals: long int long
StackMap stack: int int
8: iadd
istore 5
start local 5 9: iload 5
newarray 8
astore 6
start local 6 10: iload 2
ifeq 11
aload 6
iconst_0
bipush 45
bastore
11: StackMap locals: int byte[]
StackMap stack:
lload 3
lstore 7
start local 7 12: goto 15
13: StackMap locals: long
StackMap stack:
aload 6
iinc 5 -1
iload 5
ldc 48
lload 3
ldc 10
lrem
ladd
l2i
i2b
bastore
14: lload 7
lstore 3
15: StackMap locals:
StackMap stack:
lload 7
ldc 10
ldiv
dup2
lstore 7
lconst_0
lcmp
ifgt 13
16: aload 6
iinc 5 -1
iload 5
ldc 48
lload 3
ladd
l2i
i2b
bastore
17: aload 6
areturn
end local 7 end local 6 end local 5 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 value J
3 18 2 negative Z
4 18 3 abs J
9 18 5 index I
10 18 6 bytes [B
12 18 7 next J
MethodParameters:
Name Flags
value
public static byte[] numToBytes(long);
descriptor: (J)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: lload 0
lconst_0
lcmp
iflt 3
lload 0
ldc 256
lcmp
ifge 3
1: lload 0
l2i
istore 2
start local 2 2: getstatic io.vertx.redis.client.impl.RESPEncoder.NUM_MAP:[[B
iload 2
aaload
areturn
end local 2 3: StackMap locals:
StackMap stack:
lload 0
ldc -1
lcmp
ifne 5
4: getstatic io.vertx.redis.client.impl.RESPEncoder.NEG_ONE:[B
areturn
5: StackMap locals:
StackMap stack:
lload 0
invokestatic io.vertx.redis.client.impl.RESPEncoder.convert:(J)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 value J
2 3 2 index I
MethodParameters:
Name Flags
value
}
SourceFile: "RESPEncoder.java"