PERWAPI.MetaDataStringStream.GetUserString C# (CSharp) Method

GetUserString() private method

private GetUserString ( uint ix ) : string
ix uint
return string
        internal string GetUserString(uint ix)
        {
            BaseStream.Seek(ix,SeekOrigin.Begin);
            uint strLen = GetStringLength()/2;
            char[] strArray = new char[strLen];
            for (int i=0; i < strLen; i++) {
                //strArray[i] = ReadChar(); // works for everett but not whidbey
                strArray[i] = (char)ReadUInt16();
            }
            return new String(strArray);
        }