System.Globalization.CultureTableRecord.GetStringArrayDefault C# (CSharp) 메소드

GetStringArrayDefault() 개인적인 메소드

private GetStringArrayDefault ( uint iOffset ) : String
iOffset uint
리턴 String
        private unsafe String GetStringArrayDefault(uint iOffset)
        {
            if (iOffset == 0)
                return String.Empty;

            // The offset value is in char, and is related to the begining of string pool.
            ushort* pCount = m_pPool + iOffset;
            BCLDebug.Assert(pCount[0] != 0,
                "[CultureTableRecord.GetStringArrayDefault]Expected non-zero length array");

            // Get past count and cast to uint
            uint* pStringArray = (uint*)(pCount + 1);

            // We had strings, return the first one
            return GetString(pStringArray[0]);
        }