bio.std.hts.utils.array

Undocumented in source.

Members

Functions

prepareSlice
void prepareSlice(T[] s, U[] slice, size_t n)

Does almost the same, but does not require replacement, instead only its length, n bytes. This is useful for avoiding memory allocations.

replaceSlice
void replaceSlice(T[] s, U[] slice, T[] replacement)

Modifies array in-place so that slice is replaced by replacement[].

Meta