text: public virtual void FromString(string str){if (str.Length != Constants.OBJECT_ID_STRING_LENGTH){throw new ArgumentException(MessageFormat.Format(JGitText.Get().invalidId, str));}FromHexString(Constants.EncodeASCII(str), 0);}