public final class com.google.protobuf.ByteString$Output extends java.io.OutputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.google.protobuf.ByteString$Output
  super_class: java.io.OutputStream
{
  private static final byte[] EMPTY_BYTE_ARRAY;
    descriptor: [B
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final int initialCapacity;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.ArrayList<com.google.protobuf.ByteString> flushedBuffers;
    descriptor: Ljava/util/ArrayList;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/ArrayList<Lcom/google/protobuf/ByteString;>;

  private int flushedBuffersTotalBytes;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private byte[] buffer;
    descriptor: [B
    flags: (0x0002) ACC_PRIVATE

  private int bufferPos;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 982
            iconst_0
            newarray 8
            putstatic com.google.protobuf.ByteString$Output.EMPTY_BYTE_ARRAY:[B
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(int);
    descriptor: (I)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.google.protobuf.ByteString$Output this
        start local 1 // int initialCapacity
         0: .line 999
            aload 0 /* this */
            invokespecial java.io.OutputStream.<init>:()V
         1: .line 1000
            iload 1 /* initialCapacity */
            ifge 3
         2: .line 1001
            new java.lang.IllegalArgumentException
            dup
            ldc "Buffer size < 0"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 1003
      StackMap locals: com.google.protobuf.ByteString$Output int
      StackMap stack:
            aload 0 /* this */
            iload 1 /* initialCapacity */
            putfield com.google.protobuf.ByteString$Output.initialCapacity:I
         4: .line 1004
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield com.google.protobuf.ByteString$Output.flushedBuffers:Ljava/util/ArrayList;
         5: .line 1005
            aload 0 /* this */
            iload 1 /* initialCapacity */
            newarray 8
            putfield com.google.protobuf.ByteString$Output.buffer:[B
         6: .line 1006
            return
        end local 1 // int initialCapacity
        end local 0 // com.google.protobuf.ByteString$Output this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    7     0             this  Lcom/google/protobuf/ByteString$Output;
            0    7     1  initialCapacity  I
    MethodParameters:
                 Name  Flags
      initialCapacity  

  public synchronized void write(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // com.google.protobuf.ByteString$Output this
        start local 1 // int b
         0: .line 1010
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.bufferPos:I
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.buffer:[B
            arraylength
            if_icmpne 2
         1: .line 1011
            aload 0 /* this */
            iconst_1
            invokevirtual com.google.protobuf.ByteString$Output.flushFullBuffer:(I)V
         2: .line 1013
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.buffer:[B
            aload 0 /* this */
            dup
            getfield com.google.protobuf.ByteString$Output.bufferPos:I
            dup_x1
            iconst_1
            iadd
            putfield com.google.protobuf.ByteString$Output.bufferPos:I
            iload 1 /* b */
            i2b
            bastore
         3: .line 1014
            return
        end local 1 // int b
        end local 0 // com.google.protobuf.ByteString$Output this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/google/protobuf/ByteString$Output;
            0    4     1     b  I
    MethodParameters:
      Name  Flags
      b     

  public synchronized void write(byte[], int, int);
    descriptor: ([BII)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=5, args_size=4
        start local 0 // com.google.protobuf.ByteString$Output this
        start local 1 // byte[] b
        start local 2 // int offset
        start local 3 // int length
         0: .line 1018
            iload 3 /* length */
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.buffer:[B
            arraylength
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.bufferPos:I
            isub
            if_icmpgt 4
         1: .line 1020
            aload 1 /* b */
            iload 2 /* offset */
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.buffer:[B
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.bufferPos:I
            iload 3 /* length */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         2: .line 1021
            aload 0 /* this */
            dup
            getfield com.google.protobuf.ByteString$Output.bufferPos:I
            iload 3 /* length */
            iadd
            putfield com.google.protobuf.ByteString$Output.bufferPos:I
         3: .line 1022
            goto 11
         4: .line 1024
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.buffer:[B
            arraylength
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.bufferPos:I
            isub
            istore 4 /* copySize */
        start local 4 // int copySize
         5: .line 1025
            aload 1 /* b */
            iload 2 /* offset */
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.buffer:[B
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.bufferPos:I
            iload 4 /* copySize */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         6: .line 1026
            iload 2 /* offset */
            iload 4 /* copySize */
            iadd
            istore 2 /* offset */
         7: .line 1027
            iload 3 /* length */
            iload 4 /* copySize */
            isub
            istore 3 /* length */
         8: .line 1030
            aload 0 /* this */
            iload 3 /* length */
            invokevirtual com.google.protobuf.ByteString$Output.flushFullBuffer:(I)V
         9: .line 1031
            aload 1 /* b */
            iload 2 /* offset */
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.buffer:[B
            iconst_0
            iload 3 /* length */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        10: .line 1032
            aload 0 /* this */
            iload 3 /* length */
            putfield com.google.protobuf.ByteString$Output.bufferPos:I
        end local 4 // int copySize
        11: .line 1034
      StackMap locals:
      StackMap stack:
            return
        end local 3 // int length
        end local 2 // int offset
        end local 1 // byte[] b
        end local 0 // com.google.protobuf.ByteString$Output this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   12     0      this  Lcom/google/protobuf/ByteString$Output;
            0   12     1         b  [B
            0   12     2    offset  I
            0   12     3    length  I
            5   11     4  copySize  I
    MethodParameters:
        Name  Flags
      b       
      offset  
      length  

  public synchronized com.google.protobuf.ByteString toByteString();
    descriptor: ()Lcom/google/protobuf/ByteString;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.google.protobuf.ByteString$Output this
         0: .line 1043
            aload 0 /* this */
            invokevirtual com.google.protobuf.ByteString$Output.flushLastBuffer:()V
         1: .line 1044
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.flushedBuffers:Ljava/util/ArrayList;
            invokestatic com.google.protobuf.ByteString.copyFrom:(Ljava/lang/Iterable;)Lcom/google/protobuf/ByteString;
            areturn
        end local 0 // com.google.protobuf.ByteString$Output this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/google/protobuf/ByteString$Output;

  private byte[] copyArray(byte[], int);
    descriptor: ([BI)[B
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=4, args_size=3
        start local 0 // com.google.protobuf.ByteString$Output this
        start local 1 // byte[] buffer
        start local 2 // int length
         0: .line 1049
            iload 2 /* length */
            newarray 8
            astore 3 /* result */
        start local 3 // byte[] result
         1: .line 1050
            aload 1 /* buffer */
            iconst_0
            aload 3 /* result */
            iconst_0
            aload 1 /* buffer */
            arraylength
            iload 2 /* length */
            invokestatic java.lang.Math.min:(II)I
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         2: .line 1051
            aload 3 /* result */
            areturn
        end local 3 // byte[] result
        end local 2 // int length
        end local 1 // byte[] buffer
        end local 0 // com.google.protobuf.ByteString$Output this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lcom/google/protobuf/ByteString$Output;
            0    3     1  buffer  [B
            0    3     2  length  I
            1    3     3  result  [B
    MethodParameters:
        Name  Flags
      buffer  
      length  

  public void writeTo(java.io.OutputStream);
    descriptor: (Ljava/io/OutputStream;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=9, args_size=2
        start local 0 // com.google.protobuf.ByteString$Output this
        start local 1 // java.io.OutputStream out
         0: .line 1065
            aload 0 /* this */
            dup
            astore 5
            monitorenter
         1: .line 1068
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.flushedBuffers:Ljava/util/ArrayList;
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.flushedBuffers:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.size:()I
            anewarray com.google.protobuf.ByteString
            invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast com.google.protobuf.ByteString[]
            astore 2 /* cachedFlushBuffers */
        start local 2 // com.google.protobuf.ByteString[] cachedFlushBuffers
         2: .line 1069
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.buffer:[B
            astore 3 /* cachedBuffer */
        start local 3 // byte[] cachedBuffer
         3: .line 1070
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.bufferPos:I
            istore 4 /* cachedBufferPos */
        start local 4 // int cachedBufferPos
         4: .line 1065
            aload 5
            monitorexit
         5: goto 8
        end local 4 // int cachedBufferPos
        end local 3 // byte[] cachedBuffer
        end local 2 // com.google.protobuf.ByteString[] cachedFlushBuffers
      StackMap locals: com.google.protobuf.ByteString$Output java.io.OutputStream top top top com.google.protobuf.ByteString$Output
      StackMap stack: java.lang.Throwable
         6: aload 5
            monitorexit
         7: athrow
        start local 2 // com.google.protobuf.ByteString[] cachedFlushBuffers
        start local 3 // byte[] cachedBuffer
        start local 4 // int cachedBufferPos
         8: .line 1072
      StackMap locals: com.google.protobuf.ByteString$Output java.io.OutputStream com.google.protobuf.ByteString[] byte[] int
      StackMap stack:
            aload 2 /* cachedFlushBuffers */
            dup
            astore 8
            arraylength
            istore 7
            iconst_0
            istore 6
            goto 12
      StackMap locals: com.google.protobuf.ByteString$Output java.io.OutputStream com.google.protobuf.ByteString[] byte[] int top int int com.google.protobuf.ByteString[]
      StackMap stack:
         9: aload 8
            iload 6
            aaload
            astore 5 /* byteString */
        start local 5 // com.google.protobuf.ByteString byteString
        10: .line 1073
            aload 5 /* byteString */
            aload 1 /* out */
            invokevirtual com.google.protobuf.ByteString.writeTo:(Ljava/io/OutputStream;)V
        end local 5 // com.google.protobuf.ByteString byteString
        11: .line 1072
            iinc 6 1
      StackMap locals:
      StackMap stack:
        12: iload 6
            iload 7
            if_icmplt 9
        13: .line 1076
            aload 1 /* out */
            aload 0 /* this */
            aload 3 /* cachedBuffer */
            iload 4 /* cachedBufferPos */
            invokevirtual com.google.protobuf.ByteString$Output.copyArray:([BI)[B
            invokevirtual java.io.OutputStream.write:([B)V
        14: .line 1077
            return
        end local 4 // int cachedBufferPos
        end local 3 // byte[] cachedBuffer
        end local 2 // com.google.protobuf.ByteString[] cachedFlushBuffers
        end local 1 // java.io.OutputStream out
        end local 0 // com.google.protobuf.ByteString$Output this
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   15     0                this  Lcom/google/protobuf/ByteString$Output;
            0   15     1                 out  Ljava/io/OutputStream;
            2    6     2  cachedFlushBuffers  [Lcom/google/protobuf/ByteString;
            8   15     2  cachedFlushBuffers  [Lcom/google/protobuf/ByteString;
            3    6     3        cachedBuffer  [B
            8   15     3        cachedBuffer  [B
            4    6     4     cachedBufferPos  I
            8   15     4     cachedBufferPos  I
           10   11     5          byteString  Lcom/google/protobuf/ByteString;
      Exception table:
        from    to  target  type
           1     5       6  any
           6     7       6  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      out   

  public synchronized int size();
    descriptor: ()I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.google.protobuf.ByteString$Output this
         0: .line 1085
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.flushedBuffersTotalBytes:I
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.bufferPos:I
            iadd
            ireturn
        end local 0 // com.google.protobuf.ByteString$Output this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/google/protobuf/ByteString$Output;

  public synchronized void reset();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.google.protobuf.ByteString$Output this
         0: .line 1093
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.flushedBuffers:Ljava/util/ArrayList;
            invokevirtual java.util.ArrayList.clear:()V
         1: .line 1094
            aload 0 /* this */
            iconst_0
            putfield com.google.protobuf.ByteString$Output.flushedBuffersTotalBytes:I
         2: .line 1095
            aload 0 /* this */
            iconst_0
            putfield com.google.protobuf.ByteString$Output.bufferPos:I
         3: .line 1096
            return
        end local 0 // com.google.protobuf.ByteString$Output this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/google/protobuf/ByteString$Output;

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // com.google.protobuf.ByteString$Output this
         0: .line 1101
            ldc "<ByteString.Output@%s size=%d>"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         1: .line 1102
            aload 0 /* this */
            invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
            invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            invokevirtual com.google.protobuf.ByteString$Output.size:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
         2: .line 1100
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            areturn
        end local 0 // com.google.protobuf.ByteString$Output this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/google/protobuf/ByteString$Output;

  private void flushFullBuffer(int);
    descriptor: (I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // com.google.protobuf.ByteString$Output this
        start local 1 // int minSize
         0: .line 1110
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.flushedBuffers:Ljava/util/ArrayList;
            new com.google.protobuf.ByteString$LiteralByteString
            dup
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.buffer:[B
            invokespecial com.google.protobuf.ByteString$LiteralByteString.<init>:([B)V
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
         1: .line 1111
            aload 0 /* this */
            dup
            getfield com.google.protobuf.ByteString$Output.flushedBuffersTotalBytes:I
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.buffer:[B
            arraylength
            iadd
            putfield com.google.protobuf.ByteString$Output.flushedBuffersTotalBytes:I
         2: .line 1115
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.initialCapacity:I
            iload 1 /* minSize */
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.flushedBuffersTotalBytes:I
            iconst_1
            iushr
            invokestatic java.lang.Math.max:(II)I
            invokestatic java.lang.Math.max:(II)I
            istore 2 /* newSize */
        start local 2 // int newSize
         3: .line 1116
            aload 0 /* this */
            iload 2 /* newSize */
            newarray 8
            putfield com.google.protobuf.ByteString$Output.buffer:[B
         4: .line 1117
            aload 0 /* this */
            iconst_0
            putfield com.google.protobuf.ByteString$Output.bufferPos:I
         5: .line 1118
            return
        end local 2 // int newSize
        end local 1 // int minSize
        end local 0 // com.google.protobuf.ByteString$Output this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0     this  Lcom/google/protobuf/ByteString$Output;
            0    6     1  minSize  I
            3    6     2  newSize  I
    MethodParameters:
         Name  Flags
      minSize  

  private void flushLastBuffer();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // com.google.protobuf.ByteString$Output this
         0: .line 1125
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.bufferPos:I
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.buffer:[B
            arraylength
            if_icmpge 5
         1: .line 1126
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.bufferPos:I
            ifle 7
         2: .line 1127
            aload 0 /* this */
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.buffer:[B
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.bufferPos:I
            invokevirtual com.google.protobuf.ByteString$Output.copyArray:([BI)[B
            astore 1 /* bufferCopy */
        start local 1 // byte[] bufferCopy
         3: .line 1128
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.flushedBuffers:Ljava/util/ArrayList;
            new com.google.protobuf.ByteString$LiteralByteString
            dup
            aload 1 /* bufferCopy */
            invokespecial com.google.protobuf.ByteString$LiteralByteString.<init>:([B)V
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
        end local 1 // byte[] bufferCopy
         4: .line 1131
            goto 7
         5: .line 1133
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.flushedBuffers:Ljava/util/ArrayList;
            new com.google.protobuf.ByteString$LiteralByteString
            dup
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.buffer:[B
            invokespecial com.google.protobuf.ByteString$LiteralByteString.<init>:([B)V
            invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
            pop
         6: .line 1139
            aload 0 /* this */
            getstatic com.google.protobuf.ByteString$Output.EMPTY_BYTE_ARRAY:[B
            putfield com.google.protobuf.ByteString$Output.buffer:[B
         7: .line 1141
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield com.google.protobuf.ByteString$Output.flushedBuffersTotalBytes:I
            aload 0 /* this */
            getfield com.google.protobuf.ByteString$Output.bufferPos:I
            iadd
            putfield com.google.protobuf.ByteString$Output.flushedBuffersTotalBytes:I
         8: .line 1142
            aload 0 /* this */
            iconst_0
            putfield com.google.protobuf.ByteString$Output.bufferPos:I
         9: .line 1143
            return
        end local 0 // com.google.protobuf.ByteString$Output this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   10     0        this  Lcom/google/protobuf/ByteString$Output;
            3    4     1  bufferCopy  [B
}
SourceFile: "ByteString.java"
NestHost: com.google.protobuf.ByteString
InnerClasses:
  private LiteralByteString = com.google.protobuf.ByteString$LiteralByteString of com.google.protobuf.ByteString
  public final Output = com.google.protobuf.ByteString$Output of com.google.protobuf.ByteString