public class io.vertx.core.eventbus.impl.codecs.StringMessageCodec implements io.vertx.core.eventbus.MessageCodec<java.lang.String, java.lang.String>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.eventbus.impl.codecs.StringMessageCodec
super_class: java.lang.Object
{
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/core/eventbus/impl/codecs/StringMessageCodec;
public void encodeToWire(io.vertx.core.buffer.Buffer, java.lang.String);
descriptor: (Lio/vertx/core/buffer/Buffer;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getstatic io.netty.util.CharsetUtil.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
astore 3
start local 3 1: aload 1
aload 3
arraylength
invokeinterface io.vertx.core.buffer.Buffer.appendInt:(I)Lio/vertx/core/buffer/Buffer;
pop
2: aload 1
aload 3
invokeinterface io.vertx.core.buffer.Buffer.appendBytes:([B)Lio/vertx/core/buffer/Buffer;
pop
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/eventbus/impl/codecs/StringMessageCodec;
0 4 1 buffer Lio/vertx/core/buffer/Buffer;
0 4 2 s Ljava/lang/String;
1 4 3 strBytes [B
MethodParameters:
Name Flags
buffer
s
public java.lang.String decodeFromWire(int, io.vertx.core.buffer.Buffer);
descriptor: (ILio/vertx/core/buffer/Buffer;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iload 1
invokeinterface io.vertx.core.buffer.Buffer.getInt:(I)I
istore 3
start local 3 1: iinc 1 4
2: aload 2
iload 1
iload 1
iload 3
iadd
invokeinterface io.vertx.core.buffer.Buffer.getBytes:(II)[B
astore 4
start local 4 3: new java.lang.String
dup
aload 4
getstatic io.netty.util.CharsetUtil.UTF_8:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/eventbus/impl/codecs/StringMessageCodec;
0 4 1 pos I
0 4 2 buffer Lio/vertx/core/buffer/Buffer;
1 4 3 length I
3 4 4 bytes [B
MethodParameters:
Name Flags
pos
buffer
public java.lang.String transform(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/eventbus/impl/codecs/StringMessageCodec;
0 1 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "string"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/eventbus/impl/codecs/StringMessageCodec;
public byte systemCodecID();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 9
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/eventbus/impl/codecs/StringMessageCodec;
public void encodeToWire(io.vertx.core.buffer.Buffer, java.lang.Object);
descriptor: (Lio/vertx/core/buffer/Buffer;Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
checkcast java.lang.String
invokevirtual io.vertx.core.eventbus.impl.codecs.StringMessageCodec.encodeToWire:(Lio/vertx/core/buffer/Buffer;Ljava/lang/String;)V
return
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object transform(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.String
invokevirtual io.vertx.core.eventbus.impl.codecs.StringMessageCodec.transform:(Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object decodeFromWire(int, io.vertx.core.buffer.Buffer);
descriptor: (ILio/vertx/core/buffer/Buffer;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
iload 1
aload 2
invokevirtual io.vertx.core.eventbus.impl.codecs.StringMessageCodec.decodeFromWire:(ILio/vertx/core/buffer/Buffer;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lio/vertx/core/eventbus/MessageCodec<Ljava/lang/String;Ljava/lang/String;>;
SourceFile: "StringMessageCodec.java"