class java.nio.channels.Channels$3 extends java.io.OutputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: java.nio.channels.Channels$3
  super_class: java.io.OutputStream
{
  private java.nio.ByteBuffer bb;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0002) ACC_PRIVATE

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

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

  private final java.nio.channels.AsynchronousByteChannel val$ch;
    descriptor: Ljava/nio/channels/AsynchronousByteChannel;
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

  void <init>(java.nio.channels.AsynchronousByteChannel);
    descriptor: (Ljava/nio/channels/AsynchronousByteChannel;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.nio.channels.Channels$3 this
         0: .line 275
            aload 0 /* this */
            aload 1
            putfield java.nio.channels.Channels$3.val$ch:Ljava/nio/channels/AsynchronousByteChannel;
            aload 0 /* this */
            invokespecial java.io.OutputStream.<init>:()V
         1: .line 277
            aload 0 /* this */
            aconst_null
            putfield java.nio.channels.Channels$3.bb:Ljava/nio/ByteBuffer;
         2: .line 278
            aload 0 /* this */
            aconst_null
            putfield java.nio.channels.Channels$3.bs:[B
         3: .line 279
            aload 0 /* this */
            aconst_null
            putfield java.nio.channels.Channels$3.b1:[B
         4: .line 275
            return
        end local 0 // java.nio.channels.Channels$3 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljava/nio/channels/Channels$3;
    MethodParameters:
        Name  Flags
      val$ch  final

  public synchronized void write(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.nio.channels.Channels$3 this
        start local 1 // int b
         0: .line 283
            aload 0 /* this */
            getfield java.nio.channels.Channels$3.b1:[B
            ifnonnull 2
         1: .line 284
            aload 0 /* this */
            iconst_1
            newarray 8
            putfield java.nio.channels.Channels$3.b1:[B
         2: .line 285
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.nio.channels.Channels$3.b1:[B
            iconst_0
            iload 1 /* b */
            i2b
            bastore
         3: .line 286
            aload 0 /* this */
            aload 0 /* this */
            getfield java.nio.channels.Channels$3.b1:[B
            invokevirtual java.nio.channels.Channels$3.write:([B)V
         4: .line 287
            return
        end local 1 // int b
        end local 0 // java.nio.channels.Channels$3 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljava/nio/channels/Channels$3;
            0    5     1     b  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     

  public synchronized void write(byte[], int, int);
    descriptor: ([BII)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=8, args_size=4
        start local 0 // java.nio.channels.Channels$3 this
        start local 1 // byte[] bs
        start local 2 // int off
        start local 3 // int len
         0: .line 293
            iload 2 /* off */
            iflt 2
            iload 2 /* off */
            aload 1 /* bs */
            arraylength
            if_icmpgt 2
            iload 3 /* len */
            iflt 2
         1: .line 294
            iload 2 /* off */
            iload 3 /* len */
            iadd
            aload 1 /* bs */
            arraylength
            if_icmpgt 2
            iload 2 /* off */
            iload 3 /* len */
            iadd
            ifge 3
         2: .line 295
      StackMap locals:
      StackMap stack:
            new java.lang.IndexOutOfBoundsException
            dup
            invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
            athrow
         3: .line 296
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            ifne 5
         4: .line 297
            return
         5: .line 299
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.nio.channels.Channels$3.bs:[B
            aload 1 /* bs */
            if_acmpne 7
         6: .line 300
            aload 0 /* this */
            getfield java.nio.channels.Channels$3.bb:Ljava/nio/ByteBuffer;
            goto 8
         7: .line 301
      StackMap locals:
      StackMap stack:
            aload 1 /* bs */
            invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
         8: .line 299
      StackMap locals:
      StackMap stack: java.nio.ByteBuffer
            astore 4 /* bb */
        start local 4 // java.nio.ByteBuffer bb
         9: .line 302
            aload 4 /* bb */
            iload 2 /* off */
            iload 3 /* len */
            iadd
            aload 4 /* bb */
            invokevirtual java.nio.ByteBuffer.capacity:()I
            invokestatic java.lang.Math.min:(II)I
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
            pop
        10: .line 303
            aload 4 /* bb */
            iload 2 /* off */
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
            pop
        11: .line 304
            aload 0 /* this */
            aload 4 /* bb */
            putfield java.nio.channels.Channels$3.bb:Ljava/nio/ByteBuffer;
        12: .line 305
            aload 0 /* this */
            aload 1 /* bs */
            putfield java.nio.channels.Channels$3.bs:[B
        13: .line 307
            iconst_0
            istore 5 /* interrupted */
        start local 5 // boolean interrupted
        14: .line 309
            goto 21
        15: .line 311
      StackMap locals: java.nio.ByteBuffer int
      StackMap stack:
            aload 0 /* this */
            getfield java.nio.channels.Channels$3.val$ch:Ljava/nio/channels/AsynchronousByteChannel;
            aload 4 /* bb */
            invokeinterface java.nio.channels.AsynchronousByteChannel.write:(Ljava/nio/ByteBuffer;)Ljava/util/concurrent/Future;
            invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
            pop
        16: .line 312
            goto 21
      StackMap locals:
      StackMap stack: java.util.concurrent.ExecutionException
        17: astore 6 /* ee */
        start local 6 // java.util.concurrent.ExecutionException ee
        18: .line 313
            new java.io.IOException
            dup
            aload 6 /* ee */
            invokevirtual java.util.concurrent.ExecutionException.getCause:()Ljava/lang/Throwable;
            invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 6 // java.util.concurrent.ExecutionException ee
        19: .line 314
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            pop
        20: .line 315
            iconst_1
            istore 5 /* interrupted */
        21: .line 309
      StackMap locals:
      StackMap stack:
            aload 4 /* bb */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            ifgt 15
        22: .line 318
            goto 27
      StackMap locals:
      StackMap stack: java.lang.Throwable
        23: astore 7
        24: .line 319
            iload 5 /* interrupted */
            ifeq 26
        25: .line 320
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
        26: .line 321
      StackMap locals: java.nio.channels.Channels$3 byte[] int int java.nio.ByteBuffer int top java.lang.Throwable
      StackMap stack:
            aload 7
            athrow
        27: .line 319
      StackMap locals: java.nio.channels.Channels$3 byte[] int int java.nio.ByteBuffer int
      StackMap stack:
            iload 5 /* interrupted */
            ifeq 29
        28: .line 320
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
        29: .line 322
      StackMap locals:
      StackMap stack:
            return
        end local 5 // boolean interrupted
        end local 4 // java.nio.ByteBuffer bb
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] bs
        end local 0 // java.nio.channels.Channels$3 this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   30     0         this  Ljava/nio/channels/Channels$3;
            0   30     1           bs  [B
            0   30     2          off  I
            0   30     3          len  I
            9   30     4           bb  Ljava/nio/ByteBuffer;
           14   30     5  interrupted  Z
           18   19     6           ee  Ljava/util/concurrent/ExecutionException;
      Exception table:
        from    to  target  type
          15    16      17  Class java.util.concurrent.ExecutionException
          15    16      19  Class java.lang.InterruptedException
          14    23      23  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      bs    
      off   
      len   

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.nio.channels.Channels$3 this
         0: .line 326
            aload 0 /* this */
            getfield java.nio.channels.Channels$3.val$ch:Ljava/nio/channels/AsynchronousByteChannel;
            invokeinterface java.nio.channels.AsynchronousByteChannel.close:()V
         1: .line 327
            return
        end local 0 // java.nio.channels.Channels$3 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljava/nio/channels/Channels$3;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "Channels.java"
EnclosingMethod: java.nio.channels.Channels.newOutputStream:(Ljava/nio/channels/AsynchronousByteChannel;)Ljava/io/OutputStream;
NestHost: java.nio.channels.Channels
InnerClasses:
  java.nio.channels.Channels$3