public class io.netty.handler.codec.marshalling.MarshallingEncoder extends io.netty.handler.codec.MessageToByteEncoder<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.handler.codec.marshalling.MarshallingEncoder
super_class: io.netty.handler.codec.MessageToByteEncoder
{
private static final byte[] LENGTH_PLACEHOLDER;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final io.netty.handler.codec.marshalling.MarshallerProvider provider;
descriptor: Lio/netty/handler/codec/marshalling/MarshallerProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_4
newarray 8
putstatic io.netty.handler.codec.marshalling.MarshallingEncoder.LENGTH_PLACEHOLDER:[B
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.netty.handler.codec.marshalling.MarshallerProvider);
descriptor: (Lio/netty/handler/codec/marshalling/MarshallerProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial io.netty.handler.codec.MessageToByteEncoder.<init>:()V
1: aload 0
aload 1
putfield io.netty.handler.codec.marshalling.MarshallingEncoder.provider:Lio/netty/handler/codec/marshalling/MarshallerProvider;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/marshalling/MarshallingEncoder;
0 3 1 provider Lio/netty/handler/codec/marshalling/MarshallerProvider;
MethodParameters:
Name Flags
provider
protected void encode(io.netty.channel.ChannelHandlerContext, java.lang.Object, io.netty.buffer.ByteBuf);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/buffer/ByteBuf;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.netty.handler.codec.marshalling.MarshallingEncoder.provider:Lio/netty/handler/codec/marshalling/MarshallerProvider;
aload 1
invokeinterface io.netty.handler.codec.marshalling.MarshallerProvider.getMarshaller:(Lio/netty/channel/ChannelHandlerContext;)Lorg/jboss/marshalling/Marshaller;
astore 4
start local 4 1: aload 3
invokevirtual io.netty.buffer.ByteBuf.writerIndex:()I
istore 5
start local 5 2: aload 3
getstatic io.netty.handler.codec.marshalling.MarshallingEncoder.LENGTH_PLACEHOLDER:[B
invokevirtual io.netty.buffer.ByteBuf.writeBytes:([B)Lio/netty/buffer/ByteBuf;
pop
3: new io.netty.handler.codec.marshalling.ChannelBufferByteOutput
dup
aload 3
invokespecial io.netty.handler.codec.marshalling.ChannelBufferByteOutput.<init>:(Lio/netty/buffer/ByteBuf;)V
astore 6
start local 6 4: aload 4
aload 6
invokeinterface org.jboss.marshalling.Marshaller.start:(Lorg/jboss/marshalling/ByteOutput;)V
5: aload 4
aload 2
invokeinterface org.jboss.marshalling.Marshaller.writeObject:(Ljava/lang/Object;)V
6: aload 4
invokeinterface org.jboss.marshalling.Marshaller.finish:()V
7: aload 4
invokeinterface org.jboss.marshalling.Marshaller.close:()V
8: aload 3
iload 5
aload 3
invokevirtual io.netty.buffer.ByteBuf.writerIndex:()I
iload 5
isub
iconst_4
isub
invokevirtual io.netty.buffer.ByteBuf.setInt:(II)Lio/netty/buffer/ByteBuf;
pop
9: return
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/marshalling/MarshallingEncoder;
0 10 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 10 2 msg Ljava/lang/Object;
0 10 3 out Lio/netty/buffer/ByteBuf;
1 10 4 marshaller Lorg/jboss/marshalling/Marshaller;
2 10 5 lengthPos I
4 10 6 output Lio/netty/handler/codec/marshalling/ChannelBufferByteOutput;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
msg
out
}
Signature: Lio/netty/handler/codec/MessageToByteEncoder<Ljava/lang/Object;>;
SourceFile: "MarshallingEncoder.java"
InnerClasses:
public abstract Sharable = io.netty.channel.ChannelHandler$Sharable of io.netty.channel.ChannelHandler
RuntimeVisibleAnnotations:
io.netty.channel.ChannelHandler$Sharable()