Stores each character's charCode in 16 bits since JavaScript string is simply in UTF-16.