public bool ClaimStoryFile(IStoryFile storyFile)
        {
            uint indexTemp;
            if (storyFile.Extent < 16 ||
                !storyFile.TryIndexOf("FORM", 0, 4, out indexTemp) ||
                !storyFile.TryIndexOf("IFRS", 8, 8 + 4, out indexTemp))
            {
                return false;
            }

            return true;
        }
Beispiel #2
0
        public bool ClaimStoryFile(IStoryFile storyFile)
        {
            uint indexTemp;

            if (storyFile.Extent < 16 ||
                !storyFile.TryIndexOf("FORM", 0, 4, out indexTemp) ||
                !storyFile.TryIndexOf("IFRS", 8, 8 + 4, out indexTemp))
            {
                return(false);
            }

            return(true);
        }