final class jdk.internal.net.http.SocketTube$SliceBufferSource implements jdk.internal.net.http.SocketTube$BufferSource
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.internal.net.http.SocketTube$SliceBufferSource
  super_class: java.lang.Object
{
  private final java.util.function.Supplier<java.nio.ByteBuffer> factory;
    descriptor: Ljava/util/function/Supplier;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/function/Supplier<Ljava/nio/ByteBuffer;>;

  private volatile java.nio.ByteBuffer current;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 1020
            ldc Ljdk/internal/net/http/SocketTube;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic jdk.internal.net.http.SocketTube$SliceBufferSource.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.net.http.SocketTube$SliceBufferSource this
         0: .line 1025
            aload 0 /* this */
            invokedynamic get()Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  jdk/internal/net/http/common/Utils.getBuffer()Ljava/nio/ByteBuffer; (6)
                  ()Ljava/nio/ByteBuffer;
            invokespecial jdk.internal.net.http.SocketTube$SliceBufferSource.<init>:(Ljava/util/function/Supplier;)V
         1: .line 1026
            return
        end local 0 // jdk.internal.net.http.SocketTube$SliceBufferSource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/net/http/SocketTube$SliceBufferSource;

  public void <init>(java.util.function.Supplier<java.nio.ByteBuffer>);
    descriptor: (Ljava/util/function/Supplier;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.net.http.SocketTube$SliceBufferSource this
        start local 1 // java.util.function.Supplier factory
         0: .line 1027
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 1028
            aload 0 /* this */
            aload 1 /* factory */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.function.Supplier
            putfield jdk.internal.net.http.SocketTube$SliceBufferSource.factory:Ljava/util/function/Supplier;
         2: .line 1029
            return
        end local 1 // java.util.function.Supplier factory
        end local 0 // jdk.internal.net.http.SocketTube$SliceBufferSource this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Ljdk/internal/net/http/SocketTube$SliceBufferSource;
            0    3     1  factory  Ljava/util/function/Supplier<Ljava/nio/ByteBuffer;>;
    Signature: (Ljava/util/function/Supplier<Ljava/nio/ByteBuffer;>;)V
    MethodParameters:
         Name  Flags
      factory  

  public final java.nio.ByteBuffer getBuffer();
    descriptor: ()Ljava/nio/ByteBuffer;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // jdk.internal.net.http.SocketTube$SliceBufferSource this
         0: .line 1035
            aload 0 /* this */
            getfield jdk.internal.net.http.SocketTube$SliceBufferSource.current:Ljava/nio/ByteBuffer;
            astore 1 /* buf */
        start local 1 // java.nio.ByteBuffer buf
         1: .line 1036
            aload 1 /* buf */
            ifnull 2
            aload 1 /* buf */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 3
         2: .line 1037
      StackMap locals: java.nio.ByteBuffer
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.net.http.SocketTube$SliceBufferSource.factory:Ljava/util/function/Supplier;
            invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
            checkcast java.nio.ByteBuffer
            dup_x1
            putfield jdk.internal.net.http.SocketTube$SliceBufferSource.current:Ljava/nio/ByteBuffer;
            goto 4
      StackMap locals:
      StackMap stack:
         3: aload 1 /* buf */
         4: .line 1036
      StackMap locals:
      StackMap stack: java.nio.ByteBuffer
            astore 1 /* buf */
         5: .line 1038
            getstatic jdk.internal.net.http.SocketTube$SliceBufferSource.$assertionsDisabled:Z
            ifne 6
            aload 1 /* buf */
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifne 6
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         6: .line 1039
      StackMap locals:
      StackMap stack:
            aload 1 /* buf */
            areturn
        end local 1 // java.nio.ByteBuffer buf
        end local 0 // jdk.internal.net.http.SocketTube$SliceBufferSource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljdk/internal/net/http/SocketTube$SliceBufferSource;
            1    7     1   buf  Ljava/nio/ByteBuffer;

  public final java.util.List<java.nio.ByteBuffer> append(java.util.List<java.nio.ByteBuffer>, java.nio.ByteBuffer, int);
    descriptor: (Ljava/util/List;Ljava/nio/ByteBuffer;I)Ljava/util/List;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=2, locals=6, args_size=4
        start local 0 // jdk.internal.net.http.SocketTube$SliceBufferSource this
        start local 1 // java.util.List list
        start local 2 // java.nio.ByteBuffer buf
        start local 3 // int start
         0: .line 1047
            aload 2 /* buf */
            invokevirtual java.nio.ByteBuffer.limit:()I
            istore 4 /* limit */
        start local 4 // int limit
         1: .line 1048
            aload 2 /* buf */
            aload 2 /* buf */
            invokevirtual java.nio.ByteBuffer.position:()I
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
            pop
         2: .line 1049
            aload 2 /* buf */
            iload 3 /* start */
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
            pop
         3: .line 1050
            aload 2 /* buf */
            invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
            astore 5 /* slice */
        start local 5 // java.nio.ByteBuffer slice
         4: .line 1053
            aload 2 /* buf */
            aload 2 /* buf */
            invokevirtual java.nio.ByteBuffer.limit:()I
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
            pop
         5: .line 1054
            aload 2 /* buf */
            iload 4 /* limit */
            invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
            pop
         6: .line 1057
            aload 1 /* list */
            aload 5 /* slice */
            invokevirtual java.nio.ByteBuffer.asReadOnlyBuffer:()Ljava/nio/ByteBuffer;
            invokestatic jdk.internal.net.http.SocketTube.listOf:(Ljava/util/List;Ljava/lang/Object;)Ljava/util/List;
            areturn
        end local 5 // java.nio.ByteBuffer slice
        end local 4 // int limit
        end local 3 // int start
        end local 2 // java.nio.ByteBuffer buf
        end local 1 // java.util.List list
        end local 0 // jdk.internal.net.http.SocketTube$SliceBufferSource this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    7     0   this  Ljdk/internal/net/http/SocketTube$SliceBufferSource;
            0    7     1   list  Ljava/util/List<Ljava/nio/ByteBuffer;>;
            0    7     2    buf  Ljava/nio/ByteBuffer;
            0    7     3  start  I
            1    7     4  limit  I
            4    7     5  slice  Ljava/nio/ByteBuffer;
    Signature: (Ljava/util/List<Ljava/nio/ByteBuffer;>;Ljava/nio/ByteBuffer;I)Ljava/util/List<Ljava/nio/ByteBuffer;>;
    MethodParameters:
       Name  Flags
      list   
      buf    
      start  
}
SourceFile: "SocketTube.java"
NestHost: jdk.internal.net.http.SocketTube
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract BufferSource = jdk.internal.net.http.SocketTube$BufferSource of jdk.internal.net.http.SocketTube
  private final SliceBufferSource = jdk.internal.net.http.SocketTube$SliceBufferSource of jdk.internal.net.http.SocketTube