public class org.apache.cassandra.streaming.StreamWriter
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.cassandra.streaming.StreamWriter
  super_class: java.lang.Object
{
  private static final int DEFAULT_CHUNK_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 65536

  private static final org.slf4j.Logger logger;
    descriptor: Lorg/slf4j/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  protected final org.apache.cassandra.io.sstable.format.SSTableReader sstable;
    descriptor: Lorg/apache/cassandra/io/sstable/format/SSTableReader;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected final java.util.Collection<org.apache.cassandra.utils.Pair<java.lang.Long, java.lang.Long>> sections;
    descriptor: Ljava/util/Collection;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    Signature: Ljava/util/Collection<Lorg/apache/cassandra/utils/Pair<Ljava/lang/Long;Ljava/lang/Long;>;>;

  protected final org.apache.cassandra.streaming.StreamManager$StreamRateLimiter limiter;
    descriptor: Lorg/apache/cassandra/streaming/StreamManager$StreamRateLimiter;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  protected final org.apache.cassandra.streaming.StreamSession session;
    descriptor: Lorg/apache/cassandra/streaming/StreamSession;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL

  private java.io.OutputStream compressedOutput;
    descriptor: Ljava/io/OutputStream;
    flags: (0x0002) ACC_PRIVATE

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

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 47
            ldc Lorg/apache/cassandra/streaming/StreamWriter;
            invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
            putstatic org.apache.cassandra.streaming.StreamWriter.logger:Lorg/slf4j/Logger;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(org.apache.cassandra.io.sstable.format.SSTableReader, java.util.Collection<org.apache.cassandra.utils.Pair<java.lang.Long, java.lang.Long>>, org.apache.cassandra.streaming.StreamSession);
    descriptor: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;Ljava/util/Collection;Lorg/apache/cassandra/streaming/StreamSession;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // org.apache.cassandra.streaming.StreamWriter this
        start local 1 // org.apache.cassandra.io.sstable.format.SSTableReader sstable
        start local 2 // java.util.Collection sections
        start local 3 // org.apache.cassandra.streaming.StreamSession session
         0: .line 59
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 61
            aload 0 /* this */
            aload 3 /* session */
            putfield org.apache.cassandra.streaming.StreamWriter.session:Lorg/apache/cassandra/streaming/StreamSession;
         2: .line 62
            aload 0 /* this */
            aload 1 /* sstable */
            putfield org.apache.cassandra.streaming.StreamWriter.sstable:Lorg/apache/cassandra/io/sstable/format/SSTableReader;
         3: .line 63
            aload 0 /* this */
            aload 2 /* sections */
            putfield org.apache.cassandra.streaming.StreamWriter.sections:Ljava/util/Collection;
         4: .line 64
            aload 0 /* this */
            aload 3 /* session */
            getfield org.apache.cassandra.streaming.StreamSession.peer:Ljava/net/InetAddress;
            invokestatic org.apache.cassandra.streaming.StreamManager.getRateLimiter:(Ljava/net/InetAddress;)Lorg/apache/cassandra/streaming/StreamManager$StreamRateLimiter;
            putfield org.apache.cassandra.streaming.StreamWriter.limiter:Lorg/apache/cassandra/streaming/StreamManager$StreamRateLimiter;
         5: .line 65
            return
        end local 3 // org.apache.cassandra.streaming.StreamSession session
        end local 2 // java.util.Collection sections
        end local 1 // org.apache.cassandra.io.sstable.format.SSTableReader sstable
        end local 0 // org.apache.cassandra.streaming.StreamWriter this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Lorg/apache/cassandra/streaming/StreamWriter;
            0    6     1   sstable  Lorg/apache/cassandra/io/sstable/format/SSTableReader;
            0    6     2  sections  Ljava/util/Collection<Lorg/apache/cassandra/utils/Pair<Ljava/lang/Long;Ljava/lang/Long;>;>;
            0    6     3   session  Lorg/apache/cassandra/streaming/StreamSession;
    Signature: (Lorg/apache/cassandra/io/sstable/format/SSTableReader;Ljava/util/Collection<Lorg/apache/cassandra/utils/Pair<Ljava/lang/Long;Ljava/lang/Long;>;>;Lorg/apache/cassandra/streaming/StreamSession;)V
    MethodParameters:
          Name  Flags
      sstable   
      sections  
      session   

  public void write(org.apache.cassandra.io.util.DataOutputStreamPlus);
    descriptor: (Lorg/apache/cassandra/io/util/DataOutputStreamPlus;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=21, args_size=2
        start local 0 // org.apache.cassandra.streaming.StreamWriter this
        start local 1 // org.apache.cassandra.io.util.DataOutputStreamPlus output
         0: .line 77
            aload 0 /* this */
            invokevirtual org.apache.cassandra.streaming.StreamWriter.totalSize:()J
            lstore 2 /* totalSize */
        start local 2 // long totalSize
         1: .line 78
            getstatic org.apache.cassandra.streaming.StreamWriter.logger:Lorg/slf4j/Logger;
            ldc "[Stream #{}] Start streaming file {} to {}, repairedAt = {}, totalSize = {}"
            iconst_5
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.session:Lorg/apache/cassandra/streaming/StreamSession;
            invokevirtual org.apache.cassandra.streaming.StreamSession.planId:()Ljava/util/UUID;
            aastore
            dup
            iconst_1
         2: .line 79
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.sstable:Lorg/apache/cassandra/io/sstable/format/SSTableReader;
            invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getFilename:()Ljava/lang/String;
            aastore
            dup
            iconst_2
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.session:Lorg/apache/cassandra/streaming/StreamSession;
            getfield org.apache.cassandra.streaming.StreamSession.peer:Ljava/net/InetAddress;
            aastore
            dup
            iconst_3
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.sstable:Lorg/apache/cassandra/io/sstable/format/SSTableReader;
            invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getSSTableMetadata:()Lorg/apache/cassandra/io/sstable/metadata/StatsMetadata;
            getfield org.apache.cassandra.io.sstable.metadata.StatsMetadata.repairedAt:J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_4
            lload 2 /* totalSize */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
         3: .line 78
            invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
         4: .line 81
            aconst_null
            astore 4
            aconst_null
            astore 5
         5: aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.sstable:Lorg/apache/cassandra/io/sstable/format/SSTableReader;
            invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.openDataReader:()Lorg/apache/cassandra/io/util/RandomAccessReader;
            astore 6 /* file */
        start local 6 // org.apache.cassandra.io.util.RandomAccessReader file
         6: .line 82
            new java.io.File
            dup
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.sstable:Lorg/apache/cassandra/io/sstable/format/SSTableReader;
            getfield org.apache.cassandra.io.sstable.format.SSTableReader.descriptor:Lorg/apache/cassandra/io/sstable/Descriptor;
            getstatic org.apache.cassandra.io.sstable.Component.CRC:Lorg/apache/cassandra/io/sstable/Component;
            invokevirtual org.apache.cassandra.io.sstable.Descriptor.filenameFor:(Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokevirtual java.io.File.exists:()Z
            ifeq 8
         7: .line 83
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.sstable:Lorg/apache/cassandra/io/sstable/format/SSTableReader;
            getfield org.apache.cassandra.io.sstable.format.SSTableReader.descriptor:Lorg/apache/cassandra/io/sstable/Descriptor;
            invokestatic org.apache.cassandra.io.util.DataIntegrityMetadata.checksumValidator:(Lorg/apache/cassandra/io/sstable/Descriptor;)Lorg/apache/cassandra/io/util/DataIntegrityMetadata$ChecksumValidator;
            goto 9
         8: .line 84
      StackMap locals: org.apache.cassandra.streaming.StreamWriter org.apache.cassandra.io.util.DataOutputStreamPlus long java.lang.Throwable java.lang.Throwable org.apache.cassandra.io.util.RandomAccessReader
      StackMap stack:
            aconst_null
         9: .line 82
      StackMap locals:
      StackMap stack: org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator
            astore 7 /* validator */
        start local 7 // org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator validator
        10: .line 86
            aload 0 /* this */
            aload 7 /* validator */
            ifnonnull 11
            ldc 65536
            newarray 8
            goto 12
      StackMap locals: org.apache.cassandra.streaming.StreamWriter org.apache.cassandra.io.util.DataOutputStreamPlus long java.lang.Throwable java.lang.Throwable org.apache.cassandra.io.util.RandomAccessReader org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator
      StackMap stack: org.apache.cassandra.streaming.StreamWriter
        11: aload 7 /* validator */
            getfield org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator.chunkSize:I
            newarray 8
      StackMap locals: org.apache.cassandra.streaming.StreamWriter org.apache.cassandra.io.util.DataOutputStreamPlus long java.lang.Throwable java.lang.Throwable org.apache.cassandra.io.util.RandomAccessReader org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator
      StackMap stack: org.apache.cassandra.streaming.StreamWriter byte[]
        12: putfield org.apache.cassandra.streaming.StreamWriter.transferBuffer:[B
        13: .line 89
            aload 0 /* this */
            new com.ning.compress.lzf.LZFOutputStream
            dup
            aload 1 /* output */
            invokespecial com.ning.compress.lzf.LZFOutputStream.<init>:(Ljava/io/OutputStream;)V
            putfield org.apache.cassandra.streaming.StreamWriter.compressedOutput:Ljava/io/OutputStream;
        14: .line 90
            lconst_0
            lstore 8 /* progress */
        start local 8 // long progress
        15: .line 93
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.sections:Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 11
            goto 34
      StackMap locals: org.apache.cassandra.streaming.StreamWriter org.apache.cassandra.io.util.DataOutputStreamPlus long java.lang.Throwable java.lang.Throwable org.apache.cassandra.io.util.RandomAccessReader org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator long top java.util.Iterator
      StackMap stack:
        16: aload 11
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.apache.cassandra.utils.Pair
            astore 10 /* section */
        start local 10 // org.apache.cassandra.utils.Pair section
        17: .line 95
            aload 7 /* validator */
            ifnonnull 18
            aload 10 /* section */
            getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
            checkcast java.lang.Long
            invokevirtual java.lang.Long.longValue:()J
            goto 19
      StackMap locals: org.apache.cassandra.streaming.StreamWriter org.apache.cassandra.io.util.DataOutputStreamPlus long java.lang.Throwable java.lang.Throwable org.apache.cassandra.io.util.RandomAccessReader org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator long org.apache.cassandra.utils.Pair java.util.Iterator
      StackMap stack:
        18: aload 7 /* validator */
            aload 10 /* section */
            getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
            checkcast java.lang.Long
            invokevirtual java.lang.Long.longValue:()J
            invokevirtual org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator.chunkStart:(J)J
      StackMap locals:
      StackMap stack: long
        19: lstore 12 /* start */
        start local 12 // long start
        20: .line 96
            aload 10 /* section */
            getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
            checkcast java.lang.Long
            invokevirtual java.lang.Long.longValue:()J
            lload 12 /* start */
            lsub
            l2i
            istore 14 /* readOffset */
        start local 14 // int readOffset
        21: .line 98
            aload 6 /* file */
            lload 12 /* start */
            invokevirtual org.apache.cassandra.io.util.RandomAccessReader.seek:(J)V
        22: .line 99
            aload 7 /* validator */
            ifnull 24
        23: .line 100
            aload 7 /* validator */
            lload 12 /* start */
            invokevirtual org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator.seek:(J)V
        24: .line 103
      StackMap locals: long int
      StackMap stack:
            aload 10 /* section */
            getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
            checkcast java.lang.Long
            invokevirtual java.lang.Long.longValue:()J
            lload 12 /* start */
            lsub
            lstore 15 /* length */
        start local 15 // long length
        25: .line 105
            lconst_0
            lstore 17 /* bytesRead */
        start local 17 // long bytesRead
        26: .line 106
            goto 32
        27: .line 108
      StackMap locals: long long
      StackMap stack:
            aload 0 /* this */
            aload 6 /* file */
            aload 7 /* validator */
            iload 14 /* readOffset */
            lload 15 /* length */
            lload 17 /* bytesRead */
            invokevirtual org.apache.cassandra.streaming.StreamWriter.write:(Lorg/apache/cassandra/io/util/RandomAccessReader;Lorg/apache/cassandra/io/util/DataIntegrityMetadata$ChecksumValidator;IJJ)J
            lstore 19 /* lastBytesRead */
        start local 19 // long lastBytesRead
        28: .line 109
            lload 17 /* bytesRead */
            lload 19 /* lastBytesRead */
            ladd
            lstore 17 /* bytesRead */
        29: .line 110
            lload 8 /* progress */
            lload 19 /* lastBytesRead */
            iload 14 /* readOffset */
            i2l
            lsub
            ladd
            lstore 8 /* progress */
        30: .line 111
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.session:Lorg/apache/cassandra/streaming/StreamSession;
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.sstable:Lorg/apache/cassandra/io/sstable/format/SSTableReader;
            getfield org.apache.cassandra.io.sstable.format.SSTableReader.descriptor:Lorg/apache/cassandra/io/sstable/Descriptor;
            getstatic org.apache.cassandra.io.sstable.Component.DATA:Lorg/apache/cassandra/io/sstable/Component;
            invokevirtual org.apache.cassandra.io.sstable.Descriptor.filenameFor:(Lorg/apache/cassandra/io/sstable/Component;)Ljava/lang/String;
            getstatic org.apache.cassandra.streaming.ProgressInfo$Direction.OUT:Lorg/apache/cassandra/streaming/ProgressInfo$Direction;
            lload 8 /* progress */
            lload 2 /* totalSize */
            invokevirtual org.apache.cassandra.streaming.StreamSession.progress:(Ljava/lang/String;Lorg/apache/cassandra/streaming/ProgressInfo$Direction;JJ)V
        31: .line 112
            iconst_0
            istore 14 /* readOffset */
        end local 19 // long lastBytesRead
        32: .line 106
      StackMap locals:
      StackMap stack:
            lload 17 /* bytesRead */
            lload 15 /* length */
            lcmp
            iflt 27
        33: .line 116
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.compressedOutput:Ljava/io/OutputStream;
            invokevirtual java.io.OutputStream.flush:()V
        end local 17 // long bytesRead
        end local 15 // long length
        end local 14 // int readOffset
        end local 12 // long start
        end local 10 // org.apache.cassandra.utils.Pair section
        34: .line 93
      StackMap locals: org.apache.cassandra.streaming.StreamWriter org.apache.cassandra.io.util.DataOutputStreamPlus long java.lang.Throwable java.lang.Throwable org.apache.cassandra.io.util.RandomAccessReader org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator long top java.util.Iterator
      StackMap stack:
            aload 11
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 16
        35: .line 118
            getstatic org.apache.cassandra.streaming.StreamWriter.logger:Lorg/slf4j/Logger;
            ldc "[Stream #{}] Finished streaming file {} to {}, bytesTransferred = {}, totalSize = {}"
            iconst_5
            anewarray java.lang.Object
            dup
            iconst_0
        36: .line 119
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.session:Lorg/apache/cassandra/streaming/StreamSession;
            invokevirtual org.apache.cassandra.streaming.StreamSession.planId:()Ljava/util/UUID;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.sstable:Lorg/apache/cassandra/io/sstable/format/SSTableReader;
            invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.getFilename:()Ljava/lang/String;
            aastore
            dup
            iconst_2
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.session:Lorg/apache/cassandra/streaming/StreamSession;
            getfield org.apache.cassandra.streaming.StreamSession.peer:Ljava/net/InetAddress;
            aastore
            dup
            iconst_3
            lload 8 /* progress */
            invokestatic org.apache.cassandra.utils.FBUtilities.prettyPrintMemory:(J)Ljava/lang/String;
            aastore
            dup
            iconst_4
            lload 2 /* totalSize */
            invokestatic org.apache.cassandra.utils.FBUtilities.prettyPrintMemory:(J)Ljava/lang/String;
            aastore
        37: .line 118
            invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
        end local 8 // long progress
        38: .line 120
            aload 7 /* validator */
            ifnull 41
            aload 7 /* validator */
            invokevirtual org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator.close:()V
            goto 41
      StackMap locals: org.apache.cassandra.streaming.StreamWriter org.apache.cassandra.io.util.DataOutputStreamPlus long java.lang.Throwable java.lang.Throwable org.apache.cassandra.io.util.RandomAccessReader org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator
      StackMap stack: java.lang.Throwable
        39: astore 4
            aload 7 /* validator */
            ifnull 40
            aload 7 /* validator */
            invokevirtual org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator.close:()V
        end local 7 // org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator validator
      StackMap locals:
      StackMap stack:
        40: aload 4
            athrow
      StackMap locals:
      StackMap stack:
        41: aload 6 /* file */
            ifnull 49
            aload 6 /* file */
            invokevirtual org.apache.cassandra.io.util.RandomAccessReader.close:()V
            goto 49
      StackMap locals:
      StackMap stack: java.lang.Throwable
        42: astore 5
            aload 4
            ifnonnull 43
            aload 5
            astore 4
            goto 44
      StackMap locals:
      StackMap stack:
        43: aload 4
            aload 5
            if_acmpeq 44
            aload 4
            aload 5
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        44: aload 6 /* file */
            ifnull 45
            aload 6 /* file */
            invokevirtual org.apache.cassandra.io.util.RandomAccessReader.close:()V
        end local 6 // org.apache.cassandra.io.util.RandomAccessReader file
      StackMap locals:
      StackMap stack:
        45: aload 4
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        46: astore 5
            aload 4
            ifnonnull 47
            aload 5
            astore 4
            goto 48
      StackMap locals:
      StackMap stack:
        47: aload 4
            aload 5
            if_acmpeq 48
            aload 4
            aload 5
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        48: aload 4
            athrow
        49: .line 121
      StackMap locals:
      StackMap stack:
            return
        end local 2 // long totalSize
        end local 1 // org.apache.cassandra.io.util.DataOutputStreamPlus output
        end local 0 // org.apache.cassandra.streaming.StreamWriter this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   50     0           this  Lorg/apache/cassandra/streaming/StreamWriter;
            0   50     1         output  Lorg/apache/cassandra/io/util/DataOutputStreamPlus;
            1   50     2      totalSize  J
            6   45     6           file  Lorg/apache/cassandra/io/util/RandomAccessReader;
           10   40     7      validator  Lorg/apache/cassandra/io/util/DataIntegrityMetadata$ChecksumValidator;
           15   38     8       progress  J
           17   34    10        section  Lorg/apache/cassandra/utils/Pair<Ljava/lang/Long;Ljava/lang/Long;>;
           20   34    12          start  J
           21   34    14     readOffset  I
           25   34    15         length  J
           26   34    17      bytesRead  J
           28   32    19  lastBytesRead  J
      Exception table:
        from    to  target  type
          10    38      39  any
           6    41      42  any
           5    46      46  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      output  

  protected long totalSize();
    descriptor: ()J
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=6, locals=5, args_size=1
        start local 0 // org.apache.cassandra.streaming.StreamWriter this
         0: .line 125
            lconst_0
            lstore 1 /* size */
        start local 1 // long size
         1: .line 126
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.sections:Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 4
            goto 4
      StackMap locals: org.apache.cassandra.streaming.StreamWriter long top java.util.Iterator
      StackMap stack:
         2: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.apache.cassandra.utils.Pair
            astore 3 /* section */
        start local 3 // org.apache.cassandra.utils.Pair section
         3: .line 127
            lload 1 /* size */
            aload 3 /* section */
            getfield org.apache.cassandra.utils.Pair.right:Ljava/lang/Object;
            checkcast java.lang.Long
            invokevirtual java.lang.Long.longValue:()J
            aload 3 /* section */
            getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
            checkcast java.lang.Long
            invokevirtual java.lang.Long.longValue:()J
            lsub
            ladd
            lstore 1 /* size */
        end local 3 // org.apache.cassandra.utils.Pair section
         4: .line 126
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 128
            lload 1 /* size */
            lreturn
        end local 1 // long size
        end local 0 // org.apache.cassandra.streaming.StreamWriter this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0     this  Lorg/apache/cassandra/streaming/StreamWriter;
            1    6     1     size  J
            3    4     3  section  Lorg/apache/cassandra/utils/Pair<Ljava/lang/Long;Ljava/lang/Long;>;

  protected long write(org.apache.cassandra.io.util.RandomAccessReader, org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator, int, long, long);
    descriptor: (Lorg/apache/cassandra/io/util/RandomAccessReader;Lorg/apache/cassandra/io/util/DataIntegrityMetadata$ChecksumValidator;IJJ)J
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=6, locals=10, args_size=6
        start local 0 // org.apache.cassandra.streaming.StreamWriter this
        start local 1 // org.apache.cassandra.io.util.RandomAccessReader reader
        start local 2 // org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator validator
        start local 3 // int start
        start local 4 // long length
        start local 6 // long bytesTransferred
         0: .line 146
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.transferBuffer:[B
            arraylength
            i2l
            lload 4 /* length */
            lload 6 /* bytesTransferred */
            lsub
            invokestatic java.lang.Math.min:(JJ)J
            l2i
            istore 8 /* toTransfer */
        start local 8 // int toTransfer
         1: .line 147
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.transferBuffer:[B
            arraylength
            i2l
            aload 1 /* reader */
            invokevirtual org.apache.cassandra.io.util.RandomAccessReader.length:()J
            aload 1 /* reader */
            invokevirtual org.apache.cassandra.io.util.RandomAccessReader.getFilePointer:()J
            lsub
            invokestatic java.lang.Math.min:(JJ)J
            l2i
            istore 9 /* minReadable */
        start local 9 // int minReadable
         2: .line 149
            aload 1 /* reader */
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.transferBuffer:[B
            iconst_0
            iload 9 /* minReadable */
            invokevirtual org.apache.cassandra.io.util.RandomAccessReader.readFully:([BII)V
         3: .line 150
            aload 2 /* validator */
            ifnull 5
         4: .line 151
            aload 2 /* validator */
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.transferBuffer:[B
            iconst_0
            iload 9 /* minReadable */
            invokevirtual org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator.validate:([BII)V
         5: .line 153
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.limiter:Lorg/apache/cassandra/streaming/StreamManager$StreamRateLimiter;
            iload 8 /* toTransfer */
            iload 3 /* start */
            isub
            invokevirtual org.apache.cassandra.streaming.StreamManager$StreamRateLimiter.acquire:(I)V
         6: .line 154
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.compressedOutput:Ljava/io/OutputStream;
            aload 0 /* this */
            getfield org.apache.cassandra.streaming.StreamWriter.transferBuffer:[B
            iload 3 /* start */
            iload 8 /* toTransfer */
            iload 3 /* start */
            isub
            invokevirtual java.io.OutputStream.write:([BII)V
         7: .line 156
            iload 8 /* toTransfer */
            i2l
            lreturn
        end local 9 // int minReadable
        end local 8 // int toTransfer
        end local 6 // long bytesTransferred
        end local 4 // long length
        end local 3 // int start
        end local 2 // org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator validator
        end local 1 // org.apache.cassandra.io.util.RandomAccessReader reader
        end local 0 // org.apache.cassandra.streaming.StreamWriter this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    8     0              this  Lorg/apache/cassandra/streaming/StreamWriter;
            0    8     1            reader  Lorg/apache/cassandra/io/util/RandomAccessReader;
            0    8     2         validator  Lorg/apache/cassandra/io/util/DataIntegrityMetadata$ChecksumValidator;
            0    8     3             start  I
            0    8     4            length  J
            0    8     6  bytesTransferred  J
            1    8     8        toTransfer  I
            2    8     9       minReadable  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
                  Name  Flags
      reader            
      validator         
      start             
      length            
      bytesTransferred  
}
SourceFile: "StreamWriter.java"
InnerClasses:
  public ChecksumValidator = org.apache.cassandra.io.util.DataIntegrityMetadata$ChecksumValidator of org.apache.cassandra.io.util.DataIntegrityMetadata
  public final Direction = org.apache.cassandra.streaming.ProgressInfo$Direction of org.apache.cassandra.streaming.ProgressInfo
  public StreamRateLimiter = org.apache.cassandra.streaming.StreamManager$StreamRateLimiter of org.apache.cassandra.streaming.StreamManager