src/java/org/apache/cassandra/io/compress/CompressionMetadata.java
/**
         * Reset the writer so that the next chunk offset written will be the
         * one of {@code chunkIndex}.
         */
Reset the writer so that the next chunk offset written will be the
one of  chunkIndex.
Reset the writer so that the next chunk offset written will be the one of chunkIndex .
public void resetAndTruncate(int chunkIndex) throws IOException
        {
            seek(dataLengthOffset
                 + 8 
                 + 4 
                 + (chunkIndex * 8L));
            getChannel().truncate(getFilePointer());
        }
public void resetAndTruncate ( int chunkIndex ) throws IOException { seek ( dataLengthOffset + 8 + 4 + ( chunkIndex * 8L ) ) ; getChannel ( ) . truncate ( getFilePointer ( ) ) ; }
Reset the writer so that the next chunk offset written will be the
 one of {@code chunkIndex}.
Reset the writer so that the next chunk offset written will be the one of { @code chunkIndex } .
// size reserved for uncompressed data length // size reserved for chunk count