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 358
            aload 0 /* this */
            invokespecial com.sun.media.jfxmedia.locator.ConnectionHolder.<init>:()V
         1: .line 359
            aload 1 /* buf */
            ifnonnull 3
         2: .line 360
            new java.lang.IllegalArgumentException
            dup
            ldc "Can't connect to null buffer..."
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 363
      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 365
            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 366
            goto 8
         6: .line 368
      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 369
            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 373
      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 377
            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 411
            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 416
            aload 0 /* this */
            getfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.channel:Ljava/nio/channels/ReadableByteChannel;
            ifnonnull 2
         1: .line 417
            new java.nio.channels.ClosedChannelException
            dup
            invokespecial java.nio.channels.ClosedChannelException.<init>:()V
            athrow
         2: .line 420
      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 421
            iconst_m1
            ireturn
         4: .line 423
      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 425
            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 427
            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 428
            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 429
            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 431
            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 436
            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 441
            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 446
            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 451
            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 452
            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 453
            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 454
            lload 1 /* position */
            lreturn
         4: .line 456
      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 462
            aload 0 /* this */
            aconst_null
            putfield com.sun.media.jfxmedia.locator.ConnectionHolder$MemoryConnectionHolder.channel:Ljava/nio/channels/ReadableByteChannel;
         1: .line 463
            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