strings.IndexByte hardcoded for increased performance