let fill v ofs len b = if ofs < 0 or len < 0 or ofs + len > v.length then invalid_arg "Bitv.fill"; if b then blit_ones v.bits ofs len else blit_zeros v.bits ofs len