for readability, and to preclude the need for more conditions, since for 2 cases that later use `len` for `memcpy` it is limited to be no more than `buflen`