public class io.netty.handler.codec.protobuf.ProtobufEncoder extends io.netty.handler.codec.MessageToMessageEncoder<com.google.protobuf.MessageLiteOrBuilder>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.protobuf.ProtobufEncoder
super_class: io.netty.handler.codec.MessageToMessageEncoder
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial io.netty.handler.codec.MessageToMessageEncoder.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/protobuf/ProtobufEncoder;
protected void encode(io.netty.channel.ChannelHandlerContext, com.google.protobuf.MessageLiteOrBuilder, java.util.List<java.lang.Object>);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lcom/google/protobuf/MessageLiteOrBuilder;Ljava/util/List;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
instanceof com.google.protobuf.MessageLite
ifeq 3
1: aload 3
aload 2
checkcast com.google.protobuf.MessageLite
invokeinterface com.google.protobuf.MessageLite.toByteArray:()[B
invokestatic io.netty.buffer.Unpooled.wrappedBuffer:([B)Lio/netty/buffer/ByteBuf;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: return
3: StackMap locals:
StackMap stack:
aload 2
instanceof com.google.protobuf.MessageLite$Builder
ifeq 5
4: aload 3
aload 2
checkcast com.google.protobuf.MessageLite$Builder
invokeinterface com.google.protobuf.MessageLite$Builder.build:()Lcom/google/protobuf/MessageLite;
invokeinterface com.google.protobuf.MessageLite.toByteArray:()[B
invokestatic io.netty.buffer.Unpooled.wrappedBuffer:([B)Lio/netty/buffer/ByteBuf;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/handler/codec/protobuf/ProtobufEncoder;
0 6 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 6 2 msg Lcom/google/protobuf/MessageLiteOrBuilder;
0 6 3 out Ljava/util/List<Ljava/lang/Object;>;
Exceptions:
throws java.lang.Exception
Signature: (Lio/netty/channel/ChannelHandlerContext;Lcom/google/protobuf/MessageLiteOrBuilder;Ljava/util/List<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
ctx
msg
out
protected void encode(io.netty.channel.ChannelHandlerContext, java.lang.Object, java.util.List);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Ljava/util/List;)V
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
checkcast com.google.protobuf.MessageLiteOrBuilder
aload 3
invokevirtual io.netty.handler.codec.protobuf.ProtobufEncoder.encode:(Lio/netty/channel/ChannelHandlerContext;Lcom/google/protobuf/MessageLiteOrBuilder;Ljava/util/List;)V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Lio/netty/handler/codec/MessageToMessageEncoder<Lcom/google/protobuf/MessageLiteOrBuilder;>;
SourceFile: "ProtobufEncoder.java"
InnerClasses:
public abstract Builder = com.google.protobuf.MessageLite$Builder of com.google.protobuf.MessageLite
public abstract Sharable = io.netty.channel.ChannelHandler$Sharable of io.netty.channel.ChannelHandler
RuntimeVisibleAnnotations:
io.netty.channel.ChannelHandler$Sharable()