htsjdk.samtools.cram.digest.ByteSumCombine Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of htsjdk Show documentation
Show all versions of htsjdk Show documentation
A Java API for high-throughput sequencing data (HTS) formats
package htsjdk.samtools.cram.digest;
final 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