Are there better alternatives to null-terminated strings?