public override int GetBuilderSize()
        {
            BuilderSize = PackageNameIndex.GetBuilderSize()
                          + TypeNameIndex.GetBuilderSize()
                          + sizeof(int)
                          + NameTableIndex.GetBuilderSize();

            return(BuilderSize);
        }
Пример #2
0
        public override int GetBuilderSize()
        {
            BuilderSize = NameIndex.GetBuilderSize();

            if (NameIndex.Name == ObjectTypes.None.ToString())
            {
                return(BuilderSize);
            }

            BuilderSize += TypeNameIndex.GetBuilderSize()
                           + sizeof(int) * 2;

            Size = Value.GetBuilderSize();

            return(BuilderSize + Size);
        }