Handles passing \0 chars