Esempio n. 1
0
        /// <inheritdoc />
        public override uint GetPhysicalSize()
        {
            uint size = VersionTableEntryHeader.GetHeaderSize(Key);

            size  = size.Align(4);
            size += (uint)Values.Count * sizeof(uint);
            return(size);
        }
Esempio n. 2
0
        /// <inheritdoc />
        public override uint GetPhysicalSize()
        {
            uint size = VersionTableEntryHeader.GetHeaderSize(Key);

            for (int i = 0; i < Tables.Count; i++)
            {
                size  = size.Align(4);
                size += Tables[i].GetPhysicalSize();
            }

            return(size);
        }