`arrsize(buf)` is more consistent with the rest of the codebase.