class java.nio.channels.Channels$1 extends java.io.OutputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: java.nio.channels.Channels$1
  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.WritableByteChannel val$ch;
    descriptor: Ljava/nio/channels/WritableByteChannel;
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

  void <init>(java.nio.channels.WritableByteChannel);
    descriptor: (Ljava/nio/channels/WritableByteChannel;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.nio.channels.Channels$1 this
         0: .line 145
            aload 0 /* this */
            aload 1
            putfield java.nio.channels.Channels$1.val$ch:Ljava/nio/channels/WritableByteChannel;
            aload 0 /* this */
            invokespecial java.io.OutputStream.<init>:()V
         1: .line 147
            aload 0 /* this */
            aconst_null
            putfield java.nio.channels.Channels$1.bb:Ljava/nio/ByteBuffer;
         2: .line 148
            aload 0 /* this */
            aconst_null
            putfield java.nio.channels.Channels$1.bs:[B
         3: .line 149
            aload 0 /* this */
            aconst_null
            putfield java.nio.channels.Channels$1.b1:[B
         4: .line 145
            return
        end local 0 // java.nio.channels.Channels$1 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljava/nio/channels/Channels$1;
    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$1 this
        start local 1 // int b
         0: .line 152
            aload 0 /* this */
            getfield java.nio.channels.Channels$1.b1:[B
            ifnonnull 2
         1: .line 153
            aload 0 /* this */
            iconst_1
            newarray 8
            putfield java.nio.channels.Channels$1.b1:[B
         2: .line 154
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.nio.channels.Channels$1.b1:[B
            iconst_0
            iload 1 /* b */
            i2b
            bastore
         3: .line 155
            aload 0 /* this */
            aload 0 /* this */
            getfield java.nio.channels.Channels$1.b1:[B
            invokevirtual java.nio.channels.Channels$1.write:([B)V
         4: .line 156
            return
        end local 1 // int b
        end local 0 // java.nio.channels.Channels$1 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljava/nio/channels/Channels$1;
            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=5, args_size=4
        start local 0 // java.nio.channels.Channels$1 this
        start local 1 // byte[] bs
        start local 2 // int off
        start local 3 // int len
         0: .line 161
            iload 2 /* off */
            iflt 2
            iload 2 /* off */
            aload 1 /* bs */
            arraylength
            if_icmpgt 2
            iload 3 /* len */
            iflt 2
         1: .line 162
            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 163
      StackMap locals:
      StackMap stack:
            new java.lang.IndexOutOfBoundsException
            dup
            invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
            athrow
         3: .line 164
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            ifne 5
         4: .line 165
            return
         5: .line 167
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield java.nio.channels.Channels$1.bs:[B
            aload 1 /* bs */
            if_acmpne 7
         6: .line 168
            aload 0 /* this */
            getfield java.nio.channels.Channels$1.bb:Ljava/nio/ByteBuffer;
            goto 8
         7: .line 169
      StackMap locals:
      StackMap stack:
            aload 1 /* bs */
            invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
         8: .line 167
      StackMap locals:
      StackMap stack: java.nio.ByteBuffer
            astore 4 /* bb */
        start local 4 // java.nio.ByteBuffer bb
         9: .line 170
            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 171
            aload 4 /* bb */
            iload 2 /* off */
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
            pop
        11: .line 172
            aload 0 /* this */
            aload 4 /* bb */
            putfield java.nio.channels.Channels$1.bb:Ljava/nio/ByteBuffer;
        12: .line 173
            aload 0 /* this */
            aload 1 /* bs */
            putfield java.nio.channels.Channels$1.bs:[B
        13: .line 174
            aload 0 /* this */
            getfield java.nio.channels.Channels$1.val$ch:Ljava/nio/channels/WritableByteChannel;
            aload 4 /* bb */
            invokestatic java.nio.channels.Channels.writeFully:(Ljava/nio/channels/WritableByteChannel;Ljava/nio/ByteBuffer;)V
        14: .line 175
            return
        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$1 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   15     0  this  Ljava/nio/channels/Channels$1;
            0   15     1    bs  [B
            0   15     2   off  I
            0   15     3   len  I
            9   15     4    bb  Ljava/nio/ByteBuffer;
    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$1 this
         0: .line 178
            aload 0 /* this */
            getfield java.nio.channels.Channels$1.val$ch:Ljava/nio/channels/WritableByteChannel;
            invokeinterface java.nio.channels.WritableByteChannel.close:()V
         1: .line 179
            return
        end local 0 // java.nio.channels.Channels$1 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljava/nio/channels/Channels$1;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "Channels.java"
EnclosingMethod: java.nio.channels.Channels.newOutputStream:(Ljava/nio/channels/WritableByteChannel;)Ljava/io/OutputStream;
NestHost: java.nio.channels.Channels
InnerClasses:
  java.nio.channels.Channels$1