final class com.google.protobuf.BinaryWriter$SafeDirectWriter extends com.google.protobuf.BinaryWriter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.protobuf.BinaryWriter$SafeDirectWriter
super_class: com.google.protobuf.BinaryWriter
{
private java.nio.ByteBuffer buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private int limitMinusOne;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(com.google.protobuf.BufferAllocator, int);
descriptor: (Lcom/google/protobuf/BufferAllocator;I)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokespecial com.google.protobuf.BinaryWriter.<init>:(Lcom/google/protobuf/BufferAllocator;I)V
1: aload 0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.nextBuffer:()V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 3 1 alloc Lcom/google/protobuf/BufferAllocator;
0 3 2 chunkSize I
MethodParameters:
Name Flags
alloc
chunkSize
private void nextBuffer();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.newDirectBuffer:()Lcom/google/protobuf/AllocatedBuffer;
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.nextBuffer:(Lcom/google/protobuf/AllocatedBuffer;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
private void nextBuffer(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
iload 1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.newDirectBuffer:(I)Lcom/google/protobuf/AllocatedBuffer;
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.nextBuffer:(Lcom/google/protobuf/AllocatedBuffer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 2 1 capacity I
MethodParameters:
Name Flags
capacity
private void nextBuffer(com.google.protobuf.AllocatedBuffer);
descriptor: (Lcom/google/protobuf/AllocatedBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.google.protobuf.AllocatedBuffer.hasNioBuffer:()Z
ifne 2
1: new java.lang.RuntimeException
dup
ldc "Allocated buffer does not have NIO buffer"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.google.protobuf.AllocatedBuffer.nioBuffer:()Ljava/nio/ByteBuffer;
astore 2
start local 2 3: aload 2
invokevirtual java.nio.ByteBuffer.isDirect:()Z
ifne 5
4: new java.lang.RuntimeException
dup
ldc "Allocator returned non-direct buffer"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.finishCurrentBuffer:()V
6: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffers:Ljava/util/ArrayDeque;
aload 1
invokevirtual java.util.ArrayDeque.addFirst:(Ljava/lang/Object;)V
7: aload 0
aload 2
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
8: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
9: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
10: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
11: aload 0
aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
iconst_1
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.limitMinusOne:I
12: aload 0
aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.limitMinusOne:I
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 14 1 allocatedBuffer Lcom/google/protobuf/AllocatedBuffer;
3 14 2 nioBuffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
allocatedBuffer
public int getTotalBytesWritten();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.totalDoneBytes:I
aload 0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.bytesWrittenToCurrentBuffer:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
private int bytesWrittenToCurrentBuffer();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.limitMinusOne:I
aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
private int spaceLeft();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_1
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
void finishCurrentBuffer();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
ifnull 6
1: aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.totalDoneBytes:I
aload 0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.bytesWrittenToCurrentBuffer:()I
iadd
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.totalDoneBytes:I
2: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_1
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
3: aload 0
aconst_null
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
4: aload 0
iconst_0
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
5: aload 0
iconst_0
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.limitMinusOne:I
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
public void writeUInt32(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
bipush 10
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.requireSpace:(I)V
1: aload 0
iload 2
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint32:(I)V
2: aload 0
iload 1
iconst_0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeTag:(II)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 4 1 fieldNumber I
0 4 2 value I
MethodParameters:
Name Flags
fieldNumber
value
public void writeInt32(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
bipush 15
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.requireSpace:(I)V
1: aload 0
iload 2
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeInt32:(I)V
2: aload 0
iload 1
iconst_0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeTag:(II)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 4 1 fieldNumber I
0 4 2 value I
MethodParameters:
Name Flags
fieldNumber
value
public void writeSInt32(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
bipush 10
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.requireSpace:(I)V
1: aload 0
iload 2
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeSInt32:(I)V
2: aload 0
iload 1
iconst_0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeTag:(II)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 4 1 fieldNumber I
0 4 2 value I
MethodParameters:
Name Flags
fieldNumber
value
public void writeFixed32(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
bipush 9
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.requireSpace:(I)V
1: aload 0
iload 2
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeFixed32:(I)V
2: aload 0
iload 1
iconst_5
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeTag:(II)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 4 1 fieldNumber I
0 4 2 value I
MethodParameters:
Name Flags
fieldNumber
value
public void writeUInt64(int, long);
descriptor: (IJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
bipush 15
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.requireSpace:(I)V
1: aload 0
lload 2
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint64:(J)V
2: aload 0
iload 1
iconst_0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeTag:(II)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 4 1 fieldNumber I
0 4 2 value J
MethodParameters:
Name Flags
fieldNumber
value
public void writeSInt64(int, long);
descriptor: (IJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
bipush 15
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.requireSpace:(I)V
1: aload 0
lload 2
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeSInt64:(J)V
2: aload 0
iload 1
iconst_0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeTag:(II)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 4 1 fieldNumber I
0 4 2 value J
MethodParameters:
Name Flags
fieldNumber
value
public void writeFixed64(int, long);
descriptor: (IJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
bipush 13
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.requireSpace:(I)V
1: aload 0
lload 2
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeFixed64:(J)V
2: aload 0
iload 1
iconst_1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeTag:(II)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 4 1 fieldNumber I
0 4 2 value J
MethodParameters:
Name Flags
fieldNumber
value
public void writeBool(int, boolean);
descriptor: (IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
bipush 6
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.requireSpace:(I)V
1: aload 0
iload 2
ifeq 2
iconst_1
goto 3
StackMap locals:
StackMap stack: com.google.protobuf.BinaryWriter$SafeDirectWriter
2: iconst_0
StackMap locals: com.google.protobuf.BinaryWriter$SafeDirectWriter int int
StackMap stack: com.google.protobuf.BinaryWriter$SafeDirectWriter int
3: i2b
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.write:(B)V
4: aload 0
iload 1
iconst_0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeTag:(II)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 6 1 fieldNumber I
0 6 2 value Z
MethodParameters:
Name Flags
fieldNumber
value
public void writeString(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.getTotalBytesWritten:()I
istore 3
start local 3 1: aload 0
aload 2
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeString:(Ljava/lang/String;)V
2: aload 0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.getTotalBytesWritten:()I
iload 3
isub
istore 4
start local 4 3: aload 0
bipush 10
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.requireSpace:(I)V
4: aload 0
iload 4
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint32:(I)V
5: aload 0
iload 1
iconst_2
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeTag:(II)V
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 7 1 fieldNumber I
0 7 2 value Ljava/lang/String;
1 7 3 prevBytes I
3 7 4 length I
MethodParameters:
Name Flags
fieldNumber
value
public void writeBytes(int, com.google.protobuf.ByteString);
descriptor: (ILcom/google/protobuf/ByteString;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 0
invokevirtual com.google.protobuf.ByteString.writeToReverse:(Lcom/google/protobuf/ByteOutput;)V
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: astore 3
start local 3 3: new java.lang.RuntimeException
dup
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 4: StackMap locals:
StackMap stack:
aload 0
bipush 10
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.requireSpace:(I)V
5: aload 0
aload 2
invokevirtual com.google.protobuf.ByteString.size:()I
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint32:(I)V
6: aload 0
iload 1
iconst_2
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeTag:(II)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 8 1 fieldNumber I
0 8 2 value Lcom/google/protobuf/ByteString;
3 4 3 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
fieldNumber
value
public void writeMessage(int, java.lang.Object);
descriptor: (ILjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.getTotalBytesWritten:()I
istore 3
start local 3 1: invokestatic com.google.protobuf.Protobuf.getInstance:()Lcom/google/protobuf/Protobuf;
aload 2
aload 0
invokevirtual com.google.protobuf.Protobuf.writeTo:(Ljava/lang/Object;Lcom/google/protobuf/Writer;)V
2: aload 0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.getTotalBytesWritten:()I
iload 3
isub
istore 4
start local 4 3: aload 0
bipush 10
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.requireSpace:(I)V
4: aload 0
iload 4
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint32:(I)V
5: aload 0
iload 1
iconst_2
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeTag:(II)V
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 7 1 fieldNumber I
0 7 2 value Ljava/lang/Object;
1 7 3 prevBytes I
3 7 4 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fieldNumber
value
public void writeMessage(int, java.lang.Object, com.google.protobuf.Schema);
descriptor: (ILjava/lang/Object;Lcom/google/protobuf/Schema;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.getTotalBytesWritten:()I
istore 4
start local 4 1: aload 3
aload 2
aload 0
invokeinterface com.google.protobuf.Schema.writeTo:(Ljava/lang/Object;Lcom/google/protobuf/Writer;)V
2: aload 0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.getTotalBytesWritten:()I
iload 4
isub
istore 5
start local 5 3: aload 0
bipush 10
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.requireSpace:(I)V
4: aload 0
iload 5
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint32:(I)V
5: aload 0
iload 1
iconst_2
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeTag:(II)V
6: return
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 7 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 7 1 fieldNumber I
0 7 2 value Ljava/lang/Object;
0 7 3 schema Lcom/google/protobuf/Schema;
1 7 4 prevBytes I
3 7 5 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fieldNumber
value
schema
public void writeGroup(int, java.lang.Object);
descriptor: (ILjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iconst_4
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeTag:(II)V
1: invokestatic com.google.protobuf.Protobuf.getInstance:()Lcom/google/protobuf/Protobuf;
aload 2
aload 0
invokevirtual com.google.protobuf.Protobuf.writeTo:(Ljava/lang/Object;Lcom/google/protobuf/Writer;)V
2: aload 0
iload 1
iconst_3
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeTag:(II)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 4 1 fieldNumber I
0 4 2 value Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fieldNumber
value
public void writeGroup(int, java.lang.Object, com.google.protobuf.Schema);
descriptor: (ILjava/lang/Object;Lcom/google/protobuf/Schema;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iconst_4
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeTag:(II)V
1: aload 3
aload 2
aload 0
invokeinterface com.google.protobuf.Schema.writeTo:(Ljava/lang/Object;Lcom/google/protobuf/Writer;)V
2: aload 0
iload 1
iconst_3
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeTag:(II)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 4 1 fieldNumber I
0 4 2 value Ljava/lang/Object;
0 4 3 schema Lcom/google/protobuf/Schema;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fieldNumber
value
schema
public void writeStartGroup(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_3
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeTag:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 2 1 fieldNumber I
MethodParameters:
Name Flags
fieldNumber
public void writeEndGroup(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_4
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeTag:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 2 1 fieldNumber I
MethodParameters:
Name Flags
fieldNumber
void writeInt32(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 3
1: aload 0
iload 1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint32:(I)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iload 1
i2l
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint64:(J)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 5 1 value I
MethodParameters:
Name Flags
value
void writeSInt32(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic com.google.protobuf.CodedOutputStream.encodeZigZag32:(I)I
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint32:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 2 1 value I
MethodParameters:
Name Flags
value
void writeSInt64(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokestatic com.google.protobuf.CodedOutputStream.encodeZigZag64:(J)J
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint64:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 2 1 value J
MethodParameters:
Name Flags
value
void writeBool(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack: com.google.protobuf.BinaryWriter$SafeDirectWriter
1: iconst_0
StackMap locals: com.google.protobuf.BinaryWriter$SafeDirectWriter int
StackMap stack: com.google.protobuf.BinaryWriter$SafeDirectWriter int
2: i2b
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.write:(B)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 4 1 value Z
MethodParameters:
Name Flags
value
void writeTag(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokestatic com.google.protobuf.WireFormat.makeTag:(II)I
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint32:(I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 2 1 fieldNumber I
0 2 2 wireType I
MethodParameters:
Name Flags
fieldNumber
wireType
void writeVarint32(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush -128
iand
ifne 3
1: aload 0
iload 1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint32OneByte:(I)V
2: goto 13
StackMap locals:
StackMap stack:
3: iload 1
sipush -16384
iand
ifne 6
4: aload 0
iload 1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint32TwoBytes:(I)V
5: goto 13
StackMap locals:
StackMap stack:
6: iload 1
ldc -2097152
iand
ifne 9
7: aload 0
iload 1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint32ThreeBytes:(I)V
8: goto 13
StackMap locals:
StackMap stack:
9: iload 1
ldc -268435456
iand
ifne 12
10: aload 0
iload 1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint32FourBytes:(I)V
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint32FiveBytes:(I)V
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 14 1 value I
MethodParameters:
Name Flags
value
private void writeVarint32OneByte(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
dup_x1
iconst_1
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iload 1
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 2 1 value I
MethodParameters:
Name Flags
value
private void writeVarint32TwoBytes(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_2
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
1: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_1
iadd
iload 1
sipush 16256
iand
iconst_1
ishl
iload 1
bipush 127
iand
sipush 128
ior
ior
i2s
invokevirtual java.nio.ByteBuffer.putShort:(IS)Ljava/nio/ByteBuffer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 3 1 value I
MethodParameters:
Name Flags
value
private void writeVarint32ThreeBytes(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_3
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
1: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
2: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
3: iload 1
ldc 2080768
iand
bipush 10
ishl
4: iload 1
sipush 16256
iand
sipush 16384
ior
bipush 9
ishl
5: ior
6: iload 1
bipush 127
iand
sipush 128
ior
bipush 8
ishl
7: ior
8: invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 10 1 value I
MethodParameters:
Name Flags
value
private void writeVarint32FourBytes(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_4
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
1: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
2: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_1
iadd
3: iload 1
ldc 266338304
iand
iconst_3
ishl
4: iload 1
ldc 2080768
iand
ldc 2097152
ior
iconst_2
ishl
5: ior
6: iload 1
sipush 16256
iand
sipush 16384
ior
iconst_1
ishl
7: ior
8: iload 1
bipush 127
iand
sipush 128
ior
9: ior
10: invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 12 1 value I
MethodParameters:
Name Flags
value
private void writeVarint32FiveBytes(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
dup_x1
iconst_1
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iload 1
bipush 28
iushr
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
1: aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_4
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
2: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
3: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_1
iadd
4: iload 1
bipush 21
iushr
bipush 127
iand
sipush 128
ior
bipush 24
ishl
5: iload 1
bipush 14
iushr
bipush 127
iand
sipush 128
ior
bipush 16
ishl
6: ior
7: iload 1
bipush 7
iushr
bipush 127
iand
sipush 128
ior
bipush 8
ishl
8: ior
9: iload 1
bipush 127
iand
sipush 128
ior
10: ior
11: invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 13 1 value I
MethodParameters:
Name Flags
value
void writeVarint64(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: lload 1
invokestatic com.google.protobuf.BinaryWriter.computeUInt64SizeNoTag:(J)B
tableswitch { // 1 - 10
1: 1
2: 3
3: 5
4: 7
5: 9
6: 11
7: 13
8: 15
9: 17
10: 19
default: 20
}
1: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint64OneByte:(J)V
2: goto 20
3: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint64TwoBytes:(J)V
4: goto 20
5: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint64ThreeBytes:(J)V
6: goto 20
7: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint64FourBytes:(J)V
8: goto 20
9: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint64FiveBytes:(J)V
10: goto 20
11: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint64SixBytes:(J)V
12: goto 20
13: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint64SevenBytes:(J)V
14: goto 20
15: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint64EightBytes:(J)V
16: goto 20
17: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint64NineBytes:(J)V
18: goto 20
19: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint64TenBytes:(J)V
20: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 21 1 value J
MethodParameters:
Name Flags
value
private void writeVarint64OneByte(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
l2i
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint32OneByte:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 2 1 value J
MethodParameters:
Name Flags
value
private void writeVarint64TwoBytes(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
l2i
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint32TwoBytes:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 2 1 value J
MethodParameters:
Name Flags
value
private void writeVarint64ThreeBytes(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
l2i
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint32ThreeBytes:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 2 1 value J
MethodParameters:
Name Flags
value
private void writeVarint64FourBytes(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
l2i
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint32FourBytes:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 2 1 value J
MethodParameters:
Name Flags
value
private void writeVarint64FiveBytes(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_5
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
1: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
2: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_2
isub
3: lload 1
ldc 34091302912
land
bipush 28
lshl
4: lload 1
ldc 266338304
land
ldc 268435456
lor
bipush 27
lshl
5: lor
6: lload 1
ldc 2080768
land
ldc 2097152
lor
bipush 26
lshl
7: lor
8: lload 1
ldc 16256
land
ldc 16384
lor
bipush 25
lshl
9: lor
10: lload 1
ldc 127
land
ldc 128
lor
bipush 24
lshl
11: lor
12: invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 14 1 value J
MethodParameters:
Name Flags
value
private void writeVarint64SixBytes(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
bipush 6
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
1: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
2: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_1
isub
3: lload 1
ldc 4363686772736
land
bipush 21
lshl
4: lload 1
ldc 34091302912
land
ldc 34359738368
lor
bipush 20
lshl
5: lor
6: lload 1
ldc 266338304
land
ldc 268435456
lor
bipush 19
lshl
7: lor
8: lload 1
ldc 2080768
land
ldc 2097152
lor
bipush 18
lshl
9: lor
10: lload 1
ldc 16256
land
ldc 16384
lor
bipush 17
lshl
11: lor
12: lload 1
ldc 127
land
ldc 128
lor
bipush 16
lshl
13: lor
14: invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
15: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 16 1 value J
MethodParameters:
Name Flags
value
private void writeVarint64SevenBytes(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
bipush 7
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
1: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
2: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
3: lload 1
ldc 558551906910208
land
bipush 14
lshl
4: lload 1
ldc 4363686772736
land
ldc 4398046511104
lor
bipush 13
lshl
5: lor
6: lload 1
ldc 34091302912
land
ldc 34359738368
lor
bipush 12
lshl
7: lor
8: lload 1
ldc 266338304
land
ldc 268435456
lor
bipush 11
lshl
9: lor
10: lload 1
ldc 2080768
land
ldc 2097152
lor
bipush 10
lshl
11: lor
12: lload 1
ldc 16256
land
ldc 16384
lor
bipush 9
lshl
13: lor
14: lload 1
ldc 127
land
ldc 128
lor
bipush 8
lshl
15: lor
16: invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
17: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 18 1 value J
MethodParameters:
Name Flags
value
private void writeVarint64EightBytes(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
bipush 8
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
1: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
2: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_1
iadd
3: lload 1
ldc 71494644084506624
land
bipush 7
lshl
4: lload 1
ldc 558551906910208
land
ldc 562949953421312
lor
bipush 6
lshl
5: lor
6: lload 1
ldc 4363686772736
land
ldc 4398046511104
lor
iconst_5
lshl
7: lor
8: lload 1
ldc 34091302912
land
ldc 34359738368
lor
iconst_4
lshl
9: lor
10: lload 1
ldc 266338304
land
ldc 268435456
lor
iconst_3
lshl
11: lor
12: lload 1
ldc 2080768
land
ldc 2097152
lor
iconst_2
lshl
13: lor
14: lload 1
ldc 16256
land
ldc 16384
lor
iconst_1
lshl
15: lor
16: lload 1
ldc 127
land
ldc 128
lor
17: lor
18: invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
19: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 20 1 value J
MethodParameters:
Name Flags
value
private void writeVarint64EightBytesWithSign(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
bipush 8
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
1: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
2: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_1
iadd
3: lload 1
ldc 71494644084506624
land
ldc 72057594037927936
lor
bipush 7
lshl
4: lload 1
ldc 558551906910208
land
ldc 562949953421312
lor
bipush 6
lshl
5: lor
6: lload 1
ldc 4363686772736
land
ldc 4398046511104
lor
iconst_5
lshl
7: lor
8: lload 1
ldc 34091302912
land
ldc 34359738368
lor
iconst_4
lshl
9: lor
10: lload 1
ldc 266338304
land
ldc 268435456
lor
iconst_3
lshl
11: lor
12: lload 1
ldc 2080768
land
ldc 2097152
lor
iconst_2
lshl
13: lor
14: lload 1
ldc 16256
land
ldc 16384
lor
iconst_1
lshl
15: lor
16: lload 1
ldc 127
land
ldc 128
lor
17: lor
18: invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
19: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 20 1 value J
MethodParameters:
Name Flags
value
private void writeVarint64NineBytes(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
dup_x1
iconst_1
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
lload 1
bipush 56
lushr
l2i
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
1: aload 0
lload 1
ldc 72057594037927935
land
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint64EightBytesWithSign:(J)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 3 1 value J
MethodParameters:
Name Flags
value
private void writeVarint64TenBytes(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
dup_x1
iconst_1
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
lload 1
bipush 63
lushr
l2i
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
1: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
dup_x1
iconst_1
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
lload 1
bipush 56
lushr
ldc 127
land
ldc 128
lor
l2i
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
2: aload 0
lload 1
ldc 72057594037927935
land
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.writeVarint64EightBytesWithSign:(J)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 4 1 value J
MethodParameters:
Name Flags
value
void writeFixed32(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_4
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
1: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_1
iadd
iload 1
invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 3 1 value I
MethodParameters:
Name Flags
value
void writeFixed64(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
bipush 8
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
1: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_1
iadd
lload 1
invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 3 1 value J
MethodParameters:
Name Flags
value
void writeString(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.requireSpace:(I)V
1: aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
istore 2
start local 2 2: aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iload 2
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
3: goto 6
start local 3 4: StackMap locals: int int
StackMap stack:
aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iload 2
iadd
iload 3
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
5: iinc 2 -1
end local 3 StackMap locals:
StackMap stack:
6: iload 2
iflt 8
aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
dup
istore 3
start local 3 7: sipush 128
if_icmplt 4
end local 3 8: StackMap locals:
StackMap stack:
iload 2
iconst_m1
if_icmpne 11
9: aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_1
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
10: return
11: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iload 2
iadd
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
12: goto 41
13: StackMap locals:
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 14: iload 3
sipush 128
if_icmpge 17
aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iflt 17
15: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
dup_x1
iconst_1
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iload 3
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
16: goto 40
StackMap locals: int
StackMap stack:
17: iload 3
sipush 2048
if_icmpge 21
aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
ifle 21
18: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
dup_x1
iconst_1
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
sipush 128
bipush 63
iload 3
iand
ior
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
19: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
dup_x1
iconst_1
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
sipush 960
iload 3
bipush 6
iushr
ior
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
20: goto 40
StackMap locals:
StackMap stack:
21: iload 3
ldc 55296
if_icmplt 22
ldc 57343
iload 3
if_icmpge 27
StackMap locals:
StackMap stack:
22: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_1
if_icmple 27
23: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
dup_x1
iconst_1
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
sipush 128
bipush 63
iload 3
iand
ior
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
24: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
dup_x1
iconst_1
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
sipush 128
bipush 63
iload 3
bipush 6
iushr
iand
ior
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
25: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
dup_x1
iconst_1
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
sipush 480
iload 3
bipush 12
iushr
ior
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
26: goto 40
StackMap locals:
StackMap stack:
27: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_2
if_icmple 38
28: iconst_0
istore 4
start local 4 29: iload 2
ifeq 30
aload 1
iload 2
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
dup
istore 4
iload 3
invokestatic java.lang.Character.isSurrogatePair:(CC)Z
ifne 31
30: StackMap locals: int
StackMap stack:
new com.google.protobuf.Utf8$UnpairedSurrogateException
dup
iload 2
iconst_1
isub
iload 2
invokespecial com.google.protobuf.Utf8$UnpairedSurrogateException.<init>:(II)V
athrow
31: StackMap locals:
StackMap stack:
iinc 2 -1
32: iload 4
iload 3
invokestatic java.lang.Character.toCodePoint:(CC)I
istore 5
start local 5 33: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
dup_x1
iconst_1
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
sipush 128
bipush 63
iload 5
iand
ior
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
34: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
dup_x1
iconst_1
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
sipush 128
bipush 63
iload 5
bipush 6
iushr
iand
ior
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
35: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
dup_x1
iconst_1
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
sipush 128
bipush 63
iload 5
bipush 12
iushr
iand
ior
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
36: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
dup_x1
iconst_1
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
sipush 240
iload 5
bipush 18
iushr
ior
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
end local 5 end local 4 37: goto 40
38: StackMap locals:
StackMap stack:
aload 0
iload 2
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.requireSpace:(I)V
39: iinc 2 1
40: StackMap locals:
StackMap stack:
iinc 2 -1
end local 3 StackMap locals:
StackMap stack:
41: iload 2
ifge 13
42: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 43 1 in Ljava/lang/String;
2 43 2 i I
4 6 3 c C
7 8 3 c C
14 41 3 c C
29 37 4 high C
33 37 5 codePoint I
MethodParameters:
Name Flags
in
public void write(byte);
descriptor: (B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
dup_x1
iconst_1
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iload 1
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 2 1 value B
MethodParameters:
Name Flags
value
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.spaceLeft:()I
iload 3
if_icmpge 2
1: aload 0
iload 3
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.nextBuffer:(I)V
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iload 3
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
3: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_1
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
4: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 1
iload 2
iload 3
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 6 1 value [B
0 6 2 offset I
0 6 3 length I
MethodParameters:
Name Flags
value
offset
length
public void writeLazy(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.spaceLeft:()I
iload 3
if_icmpge 5
1: aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.totalDoneBytes:I
iload 3
iadd
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.totalDoneBytes:I
2: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffers:Ljava/util/ArrayDeque;
aload 1
iload 2
iload 3
invokestatic com.google.protobuf.AllocatedBuffer.wrap:([BII)Lcom/google/protobuf/AllocatedBuffer;
invokevirtual java.util.ArrayDeque.addFirst:(Ljava/lang/Object;)V
3: aload 0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.nextBuffer:()V
4: return
5: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iload 3
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
6: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_1
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
7: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 1
iload 2
iload 3
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 9 1 value [B
0 9 2 offset I
0 9 3 length I
MethodParameters:
Name Flags
value
offset
length
public void write(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 2
start local 2 1: aload 0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.spaceLeft:()I
iload 2
if_icmpge 3
2: aload 0
iload 2
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.nextBuffer:(I)V
3: StackMap locals: int
StackMap stack:
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iload 2
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
4: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_1
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
5: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 1
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 7 1 value Ljava/nio/ByteBuffer;
1 7 2 length I
MethodParameters:
Name Flags
value
public void writeLazy(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 2
start local 2 1: aload 0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.spaceLeft:()I
iload 2
if_icmpge 6
2: aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.totalDoneBytes:I
iload 2
iadd
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.totalDoneBytes:I
3: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffers:Ljava/util/ArrayDeque;
aload 1
invokestatic com.google.protobuf.AllocatedBuffer.wrap:(Ljava/nio/ByteBuffer;)Lcom/google/protobuf/AllocatedBuffer;
invokevirtual java.util.ArrayDeque.addFirst:(Ljava/lang/Object;)V
4: aload 0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.nextBuffer:()V
5: return
6: StackMap locals: int
StackMap stack:
aload 0
dup
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iload 2
isub
putfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
7: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.pos:I
iconst_1
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
8: aload 0
getfield com.google.protobuf.BinaryWriter$SafeDirectWriter.buffer:Ljava/nio/ByteBuffer;
aload 1
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 10 1 value Ljava/nio/ByteBuffer;
1 10 2 length I
MethodParameters:
Name Flags
value
void requireSpace(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.spaceLeft:()I
iload 1
if_icmpge 2
1: aload 0
iload 1
invokevirtual com.google.protobuf.BinaryWriter$SafeDirectWriter.nextBuffer:(I)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/BinaryWriter$SafeDirectWriter;
0 3 1 size I
MethodParameters:
Name Flags
size
}
SourceFile: "BinaryWriter.java"
NestHost: com.google.protobuf.BinaryWriter
InnerClasses:
private final SafeDirectWriter = com.google.protobuf.BinaryWriter$SafeDirectWriter of com.google.protobuf.BinaryWriter
UnpairedSurrogateException = com.google.protobuf.Utf8$UnpairedSurrogateException of com.google.protobuf.Utf8