final class com.google.protobuf.CodedOutputStream$HeapNioEncoder extends com.google.protobuf.CodedOutputStream$ArrayEncoder
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.protobuf.CodedOutputStream$HeapNioEncoder
super_class: com.google.protobuf.CodedOutputStream$ArrayEncoder
{
private final java.nio.ByteBuffer byteBuffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int initialPosition;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
2: aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iadd
3: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
invokespecial com.google.protobuf.CodedOutputStream$ArrayEncoder.<init>:([BII)V
4: aload 0
aload 1
putfield com.google.protobuf.CodedOutputStream$HeapNioEncoder.byteBuffer:Ljava/nio/ByteBuffer;
5: aload 0
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
putfield com.google.protobuf.CodedOutputStream$HeapNioEncoder.initialPosition:I
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/protobuf/CodedOutputStream$HeapNioEncoder;
0 7 1 byteBuffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
byteBuffer
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.CodedOutputStream$HeapNioEncoder.byteBuffer:Ljava/nio/ByteBuffer;
aload 0
getfield com.google.protobuf.CodedOutputStream$HeapNioEncoder.initialPosition:I
aload 0
invokevirtual com.google.protobuf.CodedOutputStream$HeapNioEncoder.getTotalBytesWritten:()I
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/CodedOutputStream$HeapNioEncoder;
}
SourceFile: "CodedOutputStream.java"
NestHost: com.google.protobuf.CodedOutputStream
InnerClasses:
private ArrayEncoder = com.google.protobuf.CodedOutputStream$ArrayEncoder of com.google.protobuf.CodedOutputStream
private final HeapNioEncoder = com.google.protobuf.CodedOutputStream$HeapNioEncoder of com.google.protobuf.CodedOutputStream