public final class jdk.jfr.internal.consumer.FinishedStream extends jdk.jfr.internal.management.EventByteStream
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.jfr.internal.consumer.FinishedStream
  super_class: jdk.jfr.internal.management.EventByteStream
{
  private final java.io.BufferedInputStream inputStream;
    descriptor: Ljava/io/BufferedInputStream;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final byte[] buffer;
    descriptor: [B
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(java.io.InputStream, int);
    descriptor: (Ljava/io/InputStream;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // jdk.jfr.internal.consumer.FinishedStream this
        start local 1 // java.io.InputStream is
        start local 2 // int blockSize
         0: .line 38
            aload 0 /* this */
            invokespecial jdk.jfr.internal.management.EventByteStream.<init>:()V
         1: .line 39
            aload 0 /* this */
            new java.io.BufferedInputStream
            dup
            aload 1 /* is */
            ldc 50000
            invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;I)V
            putfield jdk.jfr.internal.consumer.FinishedStream.inputStream:Ljava/io/BufferedInputStream;
         2: .line 40
            aload 0 /* this */
            iload 2 /* blockSize */
            newarray 8
            putfield jdk.jfr.internal.consumer.FinishedStream.buffer:[B
         3: .line 41
            return
        end local 2 // int blockSize
        end local 1 // java.io.InputStream is
        end local 0 // jdk.jfr.internal.consumer.FinishedStream this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    4     0       this  Ljdk/jfr/internal/consumer/FinishedStream;
            0    4     1         is  Ljava/io/InputStream;
            0    4     2  blockSize  I
    MethodParameters:
           Name  Flags
      is         
      blockSize  

  public synchronized byte[] read();
    descriptor: ()[B
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // jdk.jfr.internal.consumer.FinishedStream this
         0: .line 46
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.consumer.FinishedStream.touch:()V
         1: .line 47
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.FinishedStream.inputStream:Ljava/io/BufferedInputStream;
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.FinishedStream.buffer:[B
            invokevirtual java.io.BufferedInputStream.read:([B)I
            istore 1 /* read */
        start local 1 // int read
         2: .line 48
            iload 1 /* read */
            iconst_m1
            if_icmpne 4
         3: .line 50
            aconst_null
            areturn
         4: .line 52
      StackMap locals: int
      StackMap stack:
            iload 1 /* read */
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.FinishedStream.buffer:[B
            arraylength
            if_icmpeq 8
         5: .line 53
            iload 1 /* read */
            newarray 8
            astore 2 /* smallerBuffer */
        start local 2 // byte[] smallerBuffer
         6: .line 54
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.FinishedStream.buffer:[B
            iconst_0
            aload 2 /* smallerBuffer */
            iconst_0
            iload 1 /* read */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         7: .line 55
            aload 2 /* smallerBuffer */
            areturn
        end local 2 // byte[] smallerBuffer
         8: .line 58
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.FinishedStream.buffer:[B
            areturn
        end local 1 // int read
        end local 0 // jdk.jfr.internal.consumer.FinishedStream this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    9     0           this  Ljdk/jfr/internal/consumer/FinishedStream;
            2    9     1           read  I
            6    8     2  smallerBuffer  [B
    Exceptions:
      throws java.io.IOException

  public synchronized void close();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.consumer.FinishedStream this
         0: .line 63
            aload 0 /* this */
            getfield jdk.jfr.internal.consumer.FinishedStream.inputStream:Ljava/io/BufferedInputStream;
            invokevirtual java.io.BufferedInputStream.close:()V
         1: .line 64
            return
        end local 0 // jdk.jfr.internal.consumer.FinishedStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jfr/internal/consumer/FinishedStream;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "FinishedStream.java"