示例#1
0
        private int ReadHeader()
        {
            int Count = base.Read7BitEncodedInt();

            this.typeReaders = ContentTypeReaderManager.ReadTypeManifest(Count, this);
            int ResourceCount = base.Read7BitEncodedInt();

            if (ResourceCount > 0)
            {
                this.ResourceFixups = new List <Action <object> > [ResourceCount];
                for (int i = 0; i < ResourceCount; i++)
                {
                    this.ResourceFixups[i] = new List <Action <object> >();
                }
            }
            return(ResourceCount);
        }