text: public static NGit.AbbreviatedObjectId FromString(string str){if (str.Length > Constants.OBJECT_ID_STRING_LENGTH){throw new ArgumentException(MessageFormat.Format(JGitText.Get().invalidId, str));}byte[] b = Constants.EncodeASCII(str);return FromHexString(b, 0, b.Length);}