MCPcopy Create free account
hub / github.com/BirolLab/RNA-Bloom / seqLenToNumBytes

Method seqLenToNumBytes

src/rnabloom/util/SeqBitsUtils.java:224–226  ·  view source on GitHub ↗
(int seqLen)

Source from the content-addressed store, hash-verified

222 }
223
224 public static int seqLenToNumBytes(int seqLen) {
225 return seqLen % 4 > 0 ? seqLen/4+1 : seqLen/4;
226 }
227
228 public static byte[] intToFourBytes(int i) {
229 return ByteBuffer.allocate(4).putInt(i).array();

Callers 1

nextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected