pack a string as an array of characters, terminated by the "\x00" (or "\u0000") charbyte. this is the traditional c-programming language convention for strings.