class com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder extends com.sun.media.jfxmedia.locator.ConnectionHolder
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder
  super_class: com.sun.media.jfxmedia.locator.ConnectionHolder
{
  private final java.nio.ByteBuffer backingBuffer;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder this
        start local 1 // java.nio.ByteBuffer buf
         0: .line 345
            aload 0 /* this */
            invokespecial com.sun.media.jfxmedia.locator.ConnectionHolder.<init>:()V
         1: .line 346
            aload 1 /* buf */
            ifnonnull 3
         2: .line 347
            new java.lang.IllegalArgumentException
            dup
            ldc "Can't connect to null buffer..."
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 350
      StackMap locals: com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder java.nio.ByteBuffer
      StackMap stack:
            aload 1 /* buf */
            invokevirtual java.nio.ByteBuffer.isDirect:()Z
            ifeq 6
         4: .line 352
            aload 0 /* this */
            aload 1 /* buf */
            invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
            putfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.backingBuffer:Ljava/nio/ByteBuffer;
         5: .line 353
            goto 8
         6: .line 355
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* buf */
            invokevirtual java.nio.ByteBuffer.capacity:()I
            invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
            putfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.backingBuffer:Ljava/nio/ByteBuffer;
         7: .line 356
            aload 0 /* this */
            getfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.backingBuffer:Ljava/nio/ByteBuffer;
            aload 1 /* buf */
            invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
            pop
         8: .line 360
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.backingBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.rewind:()Ljava/nio/Buffer;
            pop
         9: .line 364
            aload 0 /* this */
            new com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder$1
            dup
            aload 0 /* this */
            invokespecial com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder$1.<init>:(Lcom/sun/media/jfxmedia/locator/ConnectionHolder$MemoryConnectionHolder;)V
            putfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.channel:Ljava/nio/channels/ReadableByteChannel;
        10: .line 398
            return
        end local 1 // java.nio.ByteBuffer buf
        end local 0 // com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lcom/sun/media/jfxmedia/locator/ConnectionHolder$MemoryConnectionHolder;
            0   11     1   buf  Ljava/nio/ByteBuffer;
    MethodParameters:
      Name  Flags
      buf   

  int readBlock(long, int);
    descriptor: (JI)I
    flags: (0x0000) 
    Code:
      stack=3, locals=5, args_size=3
        start local 0 // com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder this
        start local 1 // long position
        start local 3 // int size
         0: .line 403
            aload 0 /* this */
            getfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.channel:Ljava/nio/channels/ReadableByteChannel;
            ifnonnull 2
         1: .line 404
            new java.nio.channels.ClosedChannelException
            dup
            invokespecial java.nio.channels.ClosedChannelException.<init>:()V
            athrow
         2: .line 407
      StackMap locals:
      StackMap stack:
            lload 1 /* position */
            l2i
            aload 0 /* this */
            getfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.backingBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.capacity:()I
            if_icmple 4
         3: .line 408
            iconst_m1
            ireturn
         4: .line 410
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.backingBuffer:Ljava/nio/ByteBuffer;
            lload 1 /* position */
            l2i
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
            pop
         5: .line 412
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.backingBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
            putfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.buffer:Ljava/nio/ByteBuffer;
         6: .line 414
            aload 0 /* this */
            getfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.backingBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            iload 3 /* size */
            invokestatic java.lang.Math.min:(II)I
            istore 4 /* actual */
        start local 4 // int actual
         7: .line 415
            aload 0 /* this */
            getfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.buffer:Ljava/nio/ByteBuffer;
            iload 4 /* actual */
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
            pop
         8: .line 416
            aload 0 /* this */
            getfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.backingBuffer:Ljava/nio/ByteBuffer;
            aload 0 /* this */
            getfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.backingBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.position:()I
            iload 4 /* actual */
            iadd
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
            pop
         9: .line 418
            iload 4 /* actual */
            ireturn
        end local 4 // int actual
        end local 3 // int size
        end local 1 // long position
        end local 0 // com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   10     0      this  Lcom/sun/media/jfxmedia/locator/ConnectionHolder$MemoryConnectionHolder;
            0   10     1  position  J
            0   10     3      size  I
            7   10     4    actual  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      position  
      size      

  boolean needBuffer();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder this
         0: .line 423
            iconst_0
            ireturn
        end local 0 // com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/media/jfxmedia/locator/ConnectionHolder$MemoryConnectionHolder;

  boolean isSeekable();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder this
         0: .line 428
            iconst_1
            ireturn
        end local 0 // com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/media/jfxmedia/locator/ConnectionHolder$MemoryConnectionHolder;

  boolean isRandomAccess();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder this
         0: .line 433
            iconst_1
            ireturn
        end local 0 // com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/media/jfxmedia/locator/ConnectionHolder$MemoryConnectionHolder;

  public long seek(long);
    descriptor: (J)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder this
        start local 1 // long position
         0: .line 438
            lload 1 /* position */
            l2i
            aload 0 /* this */
            getfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.backingBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.capacity:()I
            if_icmpge 4
         1: .line 439
            aload 0 /* this */
            getfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.backingBuffer:Ljava/nio/ByteBuffer;
            aload 0 /* this */
            getfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.backingBuffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.capacity:()I
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
            pop
         2: .line 440
            aload 0 /* this */
            getfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.backingBuffer:Ljava/nio/ByteBuffer;
            lload 1 /* position */
            l2i
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
            pop
         3: .line 441
            lload 1 /* position */
            lreturn
         4: .line 443
      StackMap locals:
      StackMap stack:
            ldc -1
            lreturn
        end local 1 // long position
        end local 0 // com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    5     0      this  Lcom/sun/media/jfxmedia/locator/ConnectionHolder$MemoryConnectionHolder;
            0    5     1  position  J
    MethodParameters:
          Name  Flags
      position  

  public void closeConnection();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder this
         0: .line 449
            aload 0 /* this */
            aconst_null
            putfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.channel:Ljava/nio/channels/ReadableByteChannel;
         1: .line 450
            return
        end local 0 // com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/media/jfxmedia/locator/ConnectionHolder$MemoryConnectionHolder;
}
SourceFile: "ConnectionHolder.java"
NestHost: com.sun.media.jfxmedia.locator.ConnectionHolder
InnerClasses:
  private MemoryConnectionHolder = com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder of com.sun.media.jfxmedia.locator.ConnectionHolder
  com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder$1