public class io.netty.handler.codec.protobuf.ProtobufEncoderNano extends io.netty.handler.codec.MessageToMessageEncoder<com.google.protobuf.nano.MessageNano>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.protobuf.ProtobufEncoderNano
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/ProtobufEncoderNano;
protected void encode(io.netty.channel.ChannelHandlerContext, com.google.protobuf.nano.MessageNano, java.util.List<java.lang.Object>);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Lcom/google/protobuf/nano/MessageNano;Ljava/util/List;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual com.google.protobuf.nano.MessageNano.getSerializedSize:()I
istore 4
start local 4 1: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.alloc:()Lio/netty/buffer/ByteBufAllocator;
iload 4
iload 4
invokeinterface io.netty.buffer.ByteBufAllocator.heapBuffer:(II)Lio/netty/buffer/ByteBuf;
astore 5
start local 5 2: aload 5
invokevirtual io.netty.buffer.ByteBuf.array:()[B
astore 6
start local 6 3: aload 6
4: aload 5
invokevirtual io.netty.buffer.ByteBuf.arrayOffset:()I
aload 5
invokevirtual io.netty.buffer.ByteBuf.capacity:()I
5: invokestatic com.google.protobuf.nano.CodedOutputByteBufferNano.newInstance:([BII)Lcom/google/protobuf/nano/CodedOutputByteBufferNano;
astore 7
start local 7 6: aload 2
aload 7
invokevirtual com.google.protobuf.nano.MessageNano.writeTo:(Lcom/google/protobuf/nano/CodedOutputByteBufferNano;)V
7: aload 5
iload 4
invokevirtual io.netty.buffer.ByteBuf.writerIndex:(I)Lio/netty/buffer/ByteBuf;
pop
8: aload 3
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/netty/handler/codec/protobuf/ProtobufEncoderNano;
0 10 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 10 2 msg Lcom/google/protobuf/nano/MessageNano;
0 10 3 out Ljava/util/List<Ljava/lang/Object;>;
1 10 4 size I
2 10 5 buffer Lio/netty/buffer/ByteBuf;
3 10 6 array [B
6 10 7 cobbn Lcom/google/protobuf/nano/CodedOutputByteBufferNano;
Exceptions:
throws java.lang.Exception
Signature: (Lio/netty/channel/ChannelHandlerContext;Lcom/google/protobuf/nano/MessageNano;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.nano.MessageNano
aload 3
invokevirtual io.netty.handler.codec.protobuf.ProtobufEncoderNano.encode:(Lio/netty/channel/ChannelHandlerContext;Lcom/google/protobuf/nano/MessageNano;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/nano/MessageNano;>;
SourceFile: "ProtobufEncoderNano.java"
InnerClasses:
public abstract Sharable = io.netty.channel.ChannelHandler$Sharable of io.netty.channel.ChannelHandler
RuntimeVisibleAnnotations:
io.netty.channel.ChannelHandler$Sharable()