public class io.vertx.core.buffer.impl.BufferFactoryImpl implements io.vertx.core.spi.BufferFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.buffer.impl.BufferFactoryImpl
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/buffer/impl/BufferFactoryImpl;
public io.vertx.core.buffer.Buffer buffer(int);
descriptor: (I)Lio/vertx/core/buffer/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new io.vertx.core.buffer.impl.BufferImpl
dup
iload 1
invokespecial io.vertx.core.buffer.impl.BufferImpl.<init>:(I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/buffer/impl/BufferFactoryImpl;
0 1 1 initialSizeHint I
MethodParameters:
Name Flags
initialSizeHint
public io.vertx.core.buffer.Buffer buffer();
descriptor: ()Lio/vertx/core/buffer/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new io.vertx.core.buffer.impl.BufferImpl
dup
invokespecial io.vertx.core.buffer.impl.BufferImpl.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/buffer/impl/BufferFactoryImpl;
public io.vertx.core.buffer.Buffer buffer(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new io.vertx.core.buffer.impl.BufferImpl
dup
aload 1
invokespecial io.vertx.core.buffer.impl.BufferImpl.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/buffer/impl/BufferFactoryImpl;
0 1 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public io.vertx.core.buffer.Buffer buffer(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new io.vertx.core.buffer.impl.BufferImpl
dup
aload 1
aload 2
invokespecial io.vertx.core.buffer.impl.BufferImpl.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/buffer/impl/BufferFactoryImpl;
0 1 1 str Ljava/lang/String;
0 1 2 enc Ljava/lang/String;
MethodParameters:
Name Flags
str
enc
public io.vertx.core.buffer.Buffer buffer(byte[]);
descriptor: ([B)Lio/vertx/core/buffer/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new io.vertx.core.buffer.impl.BufferImpl
dup
aload 1
invokespecial io.vertx.core.buffer.impl.BufferImpl.<init>:([B)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/buffer/impl/BufferFactoryImpl;
0 1 1 bytes [B
MethodParameters:
Name Flags
bytes
public io.vertx.core.buffer.Buffer buffer(io.netty.buffer.ByteBuf);
descriptor: (Lio/netty/buffer/ByteBuf;)Lio/vertx/core/buffer/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new io.vertx.core.buffer.impl.BufferImpl
dup
aload 1
invokespecial io.vertx.core.buffer.impl.BufferImpl.<init>:(Lio/netty/buffer/ByteBuf;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/buffer/impl/BufferFactoryImpl;
0 1 1 byteBuffer Lio/netty/buffer/ByteBuf;
MethodParameters:
Name Flags
byteBuffer
public io.vertx.core.buffer.Buffer directBuffer(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
invokevirtual io.vertx.core.buffer.impl.BufferFactoryImpl.directBuffer:([B)Lio/vertx/core/buffer/Buffer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/buffer/impl/BufferFactoryImpl;
0 1 1 str Ljava/lang/String;
0 1 2 enc Ljava/lang/String;
MethodParameters:
Name Flags
str
enc
public io.vertx.core.buffer.Buffer directBuffer(byte[]);
descriptor: ([B)Lio/vertx/core/buffer/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic io.vertx.core.net.impl.PartialPooledByteBufAllocator.UNPOOLED:Lio/netty/buffer/ByteBufAllocator;
aload 1
arraylength
invokeinterface io.netty.buffer.ByteBufAllocator.directBuffer:(I)Lio/netty/buffer/ByteBuf;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual io.netty.buffer.ByteBuf.writeBytes:([B)Lio/netty/buffer/ByteBuf;
pop
2: new io.vertx.core.buffer.impl.BufferImpl
dup
aload 2
invokespecial io.vertx.core.buffer.impl.BufferImpl.<init>:(Lio/netty/buffer/ByteBuf;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/buffer/impl/BufferFactoryImpl;
0 3 1 bytes [B
1 3 2 buff Lio/netty/buffer/ByteBuf;
MethodParameters:
Name Flags
bytes
}
SourceFile: "BufferFactoryImpl.java"