All Downloads are FREE. Search and download functionalities are using the official Maven repository.

htsjdk.samtools.cram.digest.ByteSumCombine Maven / Gradle / Ivy

There is a newer version: 4.1.3
Show newest version
package htsjdk.samtools.cram.digest;

class ByteSumCombine implements Combine {

    @Override
    public byte[] combine(final byte[] state, final byte[] update) {
        for (int i = 0; i < state.length; i++)
            state[i] += update[i];
        return state;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy