Always add a terminating null, and don't count it in the length.