abstract class com.google.protobuf.AllocatedBuffer
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.google.protobuf.AllocatedBuffer
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
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 Lcom/google/protobuf/AllocatedBuffer;
public abstract boolean hasNioBuffer();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean hasArray();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.nio.ByteBuffer nioBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract byte[] array();
descriptor: ()[B
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int arrayOffset();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int position();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract com.google.protobuf.AllocatedBuffer position(int);
descriptor: (I)Lcom/google/protobuf/AllocatedBuffer;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
position
public abstract int limit();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract int remaining();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public static com.google.protobuf.AllocatedBuffer wrap(byte[]);
descriptor: ([B)Lcom/google/protobuf/AllocatedBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aload 0
arraylength
invokestatic com.google.protobuf.AllocatedBuffer.wrapNoCheck:([BII)Lcom/google/protobuf/AllocatedBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bytes [B
MethodParameters:
Name Flags
bytes
public static com.google.protobuf.AllocatedBuffer wrap(byte[], int, int);
descriptor: ([BII)Lcom/google/protobuf/AllocatedBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iflt 1
iload 2
iflt 1
iload 1
iload 2
iadd
aload 0
arraylength
if_icmple 4
1: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
2: ldc "bytes.length=%d, offset=%d, length=%d"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
3: invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
invokestatic com.google.protobuf.AllocatedBuffer.wrapNoCheck:([BII)Lcom/google/protobuf/AllocatedBuffer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 bytes [B
0 5 1 offset I
0 5 2 length I
MethodParameters:
Name Flags
bytes final
offset final
length final
public static com.google.protobuf.AllocatedBuffer wrap(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lcom/google/protobuf/AllocatedBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "buffer"
invokestatic com.google.protobuf.Internal.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: new com.google.protobuf.AllocatedBuffer$1
dup
aload 0
invokespecial com.google.protobuf.AllocatedBuffer$1.<init>:(Ljava/nio/ByteBuffer;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer final
private static com.google.protobuf.AllocatedBuffer wrapNoCheck(byte[], int, int);
descriptor: ([BII)Lcom/google/protobuf/AllocatedBuffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.google.protobuf.AllocatedBuffer$2
dup
aload 0
iload 1
iload 2
invokespecial com.google.protobuf.AllocatedBuffer$2.<init>:([BII)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bytes [B
0 1 1 offset I
0 1 2 length I
MethodParameters:
Name Flags
bytes final
offset final
length final
}
SourceFile: "AllocatedBuffer.java"
NestMembers:
com.google.protobuf.AllocatedBuffer$1 com.google.protobuf.AllocatedBuffer$2
InnerClasses:
com.google.protobuf.AllocatedBuffer$1
com.google.protobuf.AllocatedBuffer$2