示例#1
0
        protected void PostprocessHeaderThenStream(IO.EndianWriter stream, uint string_pool_base_address)
        {
            Head.BaseAddress       = OwnerState.Definition.MemoryInfo.BaseAddress;
            Head.DataOffset        = Compiler.CacheFileHeader.kMaxSize;      // currently we have the data coming after the header
            Head.StringPoolSize    = Strings.Size;
            Head.StringPoolAddress = string_pool_base_address;

            Head.Write(stream);             // write the Header to the cache file
        }