def METHOD_NAME(dst: int, val: int=0) -> None:
    assert(dst.flags['C_CONTIGUOUS'])
    space = _string2space(_get_space(dst))
    count = dst.nbytes
    _check(_bf.bfMemset(dst.ctypes.data, space, val, count))