public class org.apache.commons.compress.utils.SeekableInMemoryByteChannel implements java.nio.channels.SeekableByteChannel
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.commons.compress.utils.SeekableInMemoryByteChannel
  super_class: java.lang.Object
{
  private static final int NAIVE_RESIZE_LIMIT;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1073741823

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

  private final java.util.concurrent.atomic.AtomicBoolean closed;
    descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

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

  public void <init>(byte[]);
    descriptor: ([B)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
        start local 1 // byte[] data
         0: .line 54
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 43
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
            putfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.closed:Ljava/util/concurrent/atomic/AtomicBoolean;
         2: .line 55
            aload 0 /* this */
            aload 1 /* data */
            putfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.data:[B
         3: .line 56
            aload 0 /* this */
            aload 1 /* data */
            arraylength
            putfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.size:I
         4: .line 57
            return
        end local 1 // byte[] data
        end local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/apache/commons/compress/utils/SeekableInMemoryByteChannel;
            0    5     1  data  [B
    MethodParameters:
      Name  Flags
      data  

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
         0: .line 63
            aload 0 /* this */
            iconst_0
            newarray 8
            invokespecial org.apache.commons.compress.utils.SeekableInMemoryByteChannel.<init>:([B)V
         1: .line 64
            return
        end local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/commons/compress/utils/SeekableInMemoryByteChannel;

  public void <init>(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
        start local 1 // int size
         0: .line 74
            aload 0 /* this */
            iload 1 /* size */
            newarray 8
            invokespecial org.apache.commons.compress.utils.SeekableInMemoryByteChannel.<init>:([B)V
         1: .line 75
            return
        end local 1 // int size
        end local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/commons/compress/utils/SeekableInMemoryByteChannel;
            0    2     1  size  I
    MethodParameters:
      Name  Flags
      size  

  public long position();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
         0: .line 79
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.position:I
            i2l
            lreturn
        end local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/commons/compress/utils/SeekableInMemoryByteChannel;

  public java.nio.channels.SeekableByteChannel position(long);
    descriptor: (J)Ljava/nio/channels/SeekableByteChannel;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
        start local 1 // long newPosition
         0: .line 84
            aload 0 /* this */
            invokevirtual org.apache.commons.compress.utils.SeekableInMemoryByteChannel.ensureOpen:()V
         1: .line 85
            lload 1 /* newPosition */
            lconst_0
            lcmp
            iflt 2
            lload 1 /* newPosition */
            ldc 2147483647
            lcmp
            ifle 3
         2: .line 86
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            ldc "Position has to be in range 0.. 2147483647"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 88
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            lload 1 /* newPosition */
            l2i
            putfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.position:I
         4: .line 89
            aload 0 /* this */
            areturn
        end local 1 // long newPosition
        end local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Lorg/apache/commons/compress/utils/SeekableInMemoryByteChannel;
            0    5     1  newPosition  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
             Name  Flags
      newPosition  

  public long size();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
         0: .line 94
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.size:I
            i2l
            lreturn
        end local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/commons/compress/utils/SeekableInMemoryByteChannel;

  public java.nio.channels.SeekableByteChannel truncate(long);
    descriptor: (J)Ljava/nio/channels/SeekableByteChannel;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
        start local 1 // long newSize
         0: .line 99
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.size:I
            i2l
            lload 1 /* newSize */
            lcmp
            ifle 2
         1: .line 100
            aload 0 /* this */
            lload 1 /* newSize */
            l2i
            putfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.size:I
         2: .line 102
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.apache.commons.compress.utils.SeekableInMemoryByteChannel.repositionIfNecessary:()V
         3: .line 103
            aload 0 /* this */
            areturn
        end local 1 // long newSize
        end local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lorg/apache/commons/compress/utils/SeekableInMemoryByteChannel;
            0    4     1  newSize  J
    MethodParameters:
         Name  Flags
      newSize  

  public int read(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
        start local 1 // java.nio.ByteBuffer buf
         0: .line 108
            aload 0 /* this */
            invokevirtual org.apache.commons.compress.utils.SeekableInMemoryByteChannel.ensureOpen:()V
         1: .line 109
            aload 0 /* this */
            invokevirtual org.apache.commons.compress.utils.SeekableInMemoryByteChannel.repositionIfNecessary:()V
         2: .line 110
            aload 1 /* buf */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            istore 2 /* wanted */
        start local 2 // int wanted
         3: .line 111
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.size:I
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.position:I
            isub
            istore 3 /* possible */
        start local 3 // int possible
         4: .line 112
            iload 3 /* possible */
            ifgt 6
         5: .line 113
            iconst_m1
            ireturn
         6: .line 115
      StackMap locals: int int
      StackMap stack:
            iload 2 /* wanted */
            iload 3 /* possible */
            if_icmple 8
         7: .line 116
            iload 3 /* possible */
            istore 2 /* wanted */
         8: .line 118
      StackMap locals:
      StackMap stack:
            aload 1 /* buf */
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.data:[B
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.position:I
            iload 2 /* wanted */
            invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
            pop
         9: .line 119
            aload 0 /* this */
            dup
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.position:I
            iload 2 /* wanted */
            iadd
            putfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.position:I
        10: .line 120
            iload 2 /* wanted */
            ireturn
        end local 3 // int possible
        end local 2 // int wanted
        end local 1 // java.nio.ByteBuffer buf
        end local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   11     0      this  Lorg/apache/commons/compress/utils/SeekableInMemoryByteChannel;
            0   11     1       buf  Ljava/nio/ByteBuffer;
            3   11     2    wanted  I
            4   11     3  possible  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      buf   

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
         0: .line 125
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.closed:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
         1: .line 126
            return
        end local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/commons/compress/utils/SeekableInMemoryByteChannel;

  public boolean isOpen();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
         0: .line 130
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.closed:Ljava/util/concurrent/atomic/AtomicBoolean;
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
            ifeq 1
            iconst_0
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_1
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/commons/compress/utils/SeekableInMemoryByteChannel;

  public int write(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
        start local 1 // java.nio.ByteBuffer b
         0: .line 135
            aload 0 /* this */
            invokevirtual org.apache.commons.compress.utils.SeekableInMemoryByteChannel.ensureOpen:()V
         1: .line 136
            aload 1 /* b */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            istore 2 /* wanted */
        start local 2 // int wanted
         2: .line 137
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.size:I
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.position:I
            isub
            istore 3 /* possibleWithoutResize */
        start local 3 // int possibleWithoutResize
         3: .line 138
            iload 2 /* wanted */
            iload 3 /* possibleWithoutResize */
            if_icmple 10
         4: .line 139
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.position:I
            iload 2 /* wanted */
            iadd
            istore 4 /* newSize */
        start local 4 // int newSize
         5: .line 140
            iload 4 /* newSize */
            ifge 9
         6: .line 141
            aload 0 /* this */
            ldc 2147483647
            invokevirtual org.apache.commons.compress.utils.SeekableInMemoryByteChannel.resize:(I)V
         7: .line 142
            ldc 2147483647
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.position:I
            isub
            istore 2 /* wanted */
         8: .line 143
            goto 10
         9: .line 144
      StackMap locals: int int int
      StackMap stack:
            aload 0 /* this */
            iload 4 /* newSize */
            invokevirtual org.apache.commons.compress.utils.SeekableInMemoryByteChannel.resize:(I)V
        end local 4 // int newSize
        10: .line 147
      StackMap locals:
      StackMap stack:
            aload 1 /* b */
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.data:[B
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.position:I
            iload 2 /* wanted */
            invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
            pop
        11: .line 148
            aload 0 /* this */
            dup
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.position:I
            iload 2 /* wanted */
            iadd
            putfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.position:I
        12: .line 149
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.size:I
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.position:I
            if_icmpge 14
        13: .line 150
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.position:I
            putfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.size:I
        14: .line 152
      StackMap locals:
      StackMap stack:
            iload 2 /* wanted */
            ireturn
        end local 3 // int possibleWithoutResize
        end local 2 // int wanted
        end local 1 // java.nio.ByteBuffer b
        end local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0   15     0                   this  Lorg/apache/commons/compress/utils/SeekableInMemoryByteChannel;
            0   15     1                      b  Ljava/nio/ByteBuffer;
            2   15     2                 wanted  I
            3   15     3  possibleWithoutResize  I
            5   10     4                newSize  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     

  public byte[] array();
    descriptor: ()[B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
         0: .line 165
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.data:[B
            areturn
        end local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/commons/compress/utils/SeekableInMemoryByteChannel;

  private void resize(int);
    descriptor: (I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
        start local 1 // int newLength
         0: .line 169
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.data:[B
            arraylength
            istore 2 /* len */
        start local 2 // int len
         1: .line 170
            iload 2 /* len */
            ifgt 3
         2: .line 171
            iconst_1
            istore 2 /* len */
         3: .line 173
      StackMap locals: int
      StackMap stack:
            iload 1 /* newLength */
            ldc 1073741823
            if_icmpge 8
         4: .line 174
            goto 6
         5: .line 175
      StackMap locals:
      StackMap stack:
            iload 2 /* len */
            iconst_1
            ishl
            istore 2 /* len */
         6: .line 174
      StackMap locals:
      StackMap stack:
            iload 2 /* len */
            iload 1 /* newLength */
            if_icmplt 5
         7: .line 177
            goto 9
         8: .line 178
      StackMap locals:
      StackMap stack:
            iload 1 /* newLength */
            istore 2 /* len */
         9: .line 180
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.data:[B
            iload 2 /* len */
            invokestatic java.util.Arrays.copyOf:([BI)[B
            putfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.data:[B
        10: .line 181
            return
        end local 2 // int len
        end local 1 // int newLength
        end local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   11     0       this  Lorg/apache/commons/compress/utils/SeekableInMemoryByteChannel;
            0   11     1  newLength  I
            1   11     2        len  I
    MethodParameters:
           Name  Flags
      newLength  

  private void ensureOpen();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
         0: .line 184
            aload 0 /* this */
            invokevirtual org.apache.commons.compress.utils.SeekableInMemoryByteChannel.isOpen:()Z
            ifne 2
         1: .line 185
            new java.nio.channels.ClosedChannelException
            dup
            invokespecial java.nio.channels.ClosedChannelException.<init>:()V
            athrow
         2: .line 187
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/commons/compress/utils/SeekableInMemoryByteChannel;
    Exceptions:
      throws java.nio.channels.ClosedChannelException

  private void repositionIfNecessary();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
         0: .line 190
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.position:I
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.size:I
            if_icmple 2
         1: .line 191
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.size:I
            putfield org.apache.commons.compress.utils.SeekableInMemoryByteChannel.position:I
         2: .line 193
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.commons.compress.utils.SeekableInMemoryByteChannel this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/commons/compress/utils/SeekableInMemoryByteChannel;
}
SourceFile: "SeekableInMemoryByteChannel.java"