class org.apache.cassandra.io.util.DataOutputStreamPlus$2 implements java.nio.channels.WritableByteChannel
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.apache.cassandra.io.util.DataOutputStreamPlus$2
  super_class: java.lang.Object
{
  final org.apache.cassandra.io.util.DataOutputStreamPlus this$0;
    descriptor: Lorg/apache/cassandra/io/util/DataOutputStreamPlus;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  void <init>(org.apache.cassandra.io.util.DataOutputStreamPlus);
    descriptor: (Lorg/apache/cassandra/io/util/DataOutputStreamPlus;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.cassandra.io.util.DataOutputStreamPlus$2 this
         0: .line 80
            aload 0 /* this */
            aload 1
            putfield org.apache.cassandra.io.util.DataOutputStreamPlus$2.this$0:Lorg/apache/cassandra/io/util/DataOutputStreamPlus;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.apache.cassandra.io.util.DataOutputStreamPlus$2 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/io/util/DataOutputStreamPlus$2;
    MethodParameters:
        Name  Flags
      this$0  final

  public boolean isOpen();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.io.util.DataOutputStreamPlus$2 this
         0: .line 86
            iconst_1
            ireturn
        end local 0 // org.apache.cassandra.io.util.DataOutputStreamPlus$2 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/io/util/DataOutputStreamPlus$2;

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // org.apache.cassandra.io.util.DataOutputStreamPlus$2 this
         0: .line 92
            return
        end local 0 // org.apache.cassandra.io.util.DataOutputStreamPlus$2 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/io/util/DataOutputStreamPlus$2;

  public int write(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=2
        start local 0 // org.apache.cassandra.io.util.DataOutputStreamPlus$2 this
        start local 1 // java.nio.ByteBuffer src
         0: .line 97
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            istore 2 /* toWrite */
        start local 2 // int toWrite
         1: .line 99
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.hasArray:()Z
            ifeq 5
         2: .line 101
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.DataOutputStreamPlus$2.this$0:Lorg/apache/cassandra/io/util/DataOutputStreamPlus;
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.array:()[B
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.arrayOffset:()I
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.position:()I
            iadd
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            invokevirtual org.apache.cassandra.io.util.DataOutputStreamPlus.write:([BII)V
         3: .line 102
            aload 1 /* src */
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.limit:()I
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
            pop
         4: .line 103
            iload 2 /* toWrite */
            ireturn
         5: .line 106
      StackMap locals: int
      StackMap stack:
            iload 2 /* toWrite */
            bipush 16
            if_icmpge 14
         6: .line 108
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.position:()I
            istore 3 /* offset */
        start local 3 // int offset
         7: .line 109
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         8: goto 11
         9: .line 110
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.DataOutputStreamPlus$2.this$0:Lorg/apache/cassandra/io/util/DataOutputStreamPlus;
            aload 1 /* src */
            iload 4 /* i */
            iload 3 /* offset */
            iadd
            invokevirtual java.nio.ByteBuffer.get:(I)B
            invokevirtual org.apache.cassandra.io.util.DataOutputStreamPlus.write:(I)V
        10: .line 109
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        11: iload 4 /* i */
            iload 2 /* toWrite */
            if_icmplt 9
        end local 4 // int i
        12: .line 111
            aload 1 /* src */
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.limit:()I
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
            pop
        13: .line 112
            iload 2 /* toWrite */
            ireturn
        end local 3 // int offset
        14: .line 115
      StackMap locals:
      StackMap stack:
            iload 2 /* toWrite */
            invokestatic org.apache.cassandra.io.util.DataOutputStreamPlus.retrieveTemporaryBuffer:(I)[B
            astore 3 /* buf */
        start local 3 // byte[] buf
        15: .line 117
            iconst_0
            istore 4 /* totalWritten */
        start local 4 // int totalWritten
        16: .line 118
            goto 21
        17: .line 120
      StackMap locals: byte[] int
      StackMap stack:
            aload 3 /* buf */
            arraylength
            iload 2 /* toWrite */
            iload 4 /* totalWritten */
            isub
            invokestatic java.lang.Math.min:(II)I
            istore 5 /* toWriteThisTime */
        start local 5 // int toWriteThisTime
        18: .line 122
            aload 1 /* src */
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.position:()I
            iload 4 /* totalWritten */
            iadd
            aload 3 /* buf */
            iconst_0
            iload 5 /* toWriteThisTime */
            invokestatic org.apache.cassandra.utils.ByteBufferUtil.arrayCopy:(Ljava/nio/ByteBuffer;I[BII)V
        19: .line 124
            aload 0 /* this */
            getfield org.apache.cassandra.io.util.DataOutputStreamPlus$2.this$0:Lorg/apache/cassandra/io/util/DataOutputStreamPlus;
            aload 3 /* buf */
            iconst_0
            iload 5 /* toWriteThisTime */
            invokevirtual org.apache.cassandra.io.util.DataOutputStreamPlus.write:([BII)V
        20: .line 126
            iload 4 /* totalWritten */
            iload 5 /* toWriteThisTime */
            iadd
            istore 4 /* totalWritten */
        end local 5 // int toWriteThisTime
        21: .line 118
      StackMap locals:
      StackMap stack:
            iload 4 /* totalWritten */
            iload 2 /* toWrite */
            if_icmplt 17
        22: .line 129
            aload 1 /* src */
            aload 1 /* src */
            invokevirtual java.nio.ByteBuffer.limit:()I
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
            pop
        23: .line 130
            iload 4 /* totalWritten */
            ireturn
        end local 4 // int totalWritten
        end local 3 // byte[] buf
        end local 2 // int toWrite
        end local 1 // java.nio.ByteBuffer src
        end local 0 // org.apache.cassandra.io.util.DataOutputStreamPlus$2 this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   24     0             this  Lorg/apache/cassandra/io/util/DataOutputStreamPlus$2;
            0   24     1              src  Ljava/nio/ByteBuffer;
            1   24     2          toWrite  I
            7   14     3           offset  I
            8   12     4                i  I
           15   24     3              buf  [B
           16   24     4     totalWritten  I
           18   21     5  toWriteThisTime  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      src   
}
SourceFile: "DataOutputStreamPlus.java"
EnclosingMethod: org.apache.cassandra.io.util.DataOutputStreamPlus.newDefaultChannel:()Ljava/nio/channels/WritableByteChannel;
NestHost: org.apache.cassandra.io.util.DataOutputStreamPlus
InnerClasses:
  org.apache.cassandra.io.util.DataOutputStreamPlus$2