I make buffer based on # of octets, but I can only get byte length of a string?