FMOD_Studio_EventDescription_GetPath() приватный Метод

private FMOD_Studio_EventDescription_GetPath ( IntPtr eventdescription, [ path, int size, int &retrieved ) : RESULT
eventdescription System.IntPtr
path [
size int
retrieved int
Результат RESULT
        public RESULT getPath(out string path)
        {
            path = null;
            byte[] array  = new byte[256];
            int    num    = 0;
            RESULT rESULT = EventDescription.FMOD_Studio_EventDescription_GetPath(this.rawPtr, array, array.Length, out num);

            if (rESULT == RESULT.ERR_TRUNCATED)
            {
                array  = new byte[num];
                rESULT = EventDescription.FMOD_Studio_EventDescription_GetPath(this.rawPtr, array, array.Length, out num);
            }
            if (rESULT == RESULT.OK)
            {
                path = Encoding.UTF8.GetString(array, 0, num - 1);
            }
            return(rESULT);
        }