public FaslFile(FaslHeader faslHeader, FaslSection heapSection, FaslSection constSection, Primitive [] primSection, FaslSection cSection) { this.faslHeader = faslHeader; this.heapSection = heapSection; this.constSection = constSection; this.primSection = primSection; this.cSection = cSection; this.sharingTable = new Dictionary <uint, object> (); }
internal static FaslFile Fasload(BinaryReader binaryReader) { FaslHeader faslHeader = FaslHeader.Load(binaryReader); FaslSection heapSection = FaslSection.Load(binaryReader, Strip(faslHeader.heapBase), Strip(faslHeader.heapCount), faslHeader.heapCount); FaslSection constSection = FaslSection.Load(binaryReader, Strip(faslHeader.constBase), Strip(faslHeader.constCount), faslHeader.constCount); Primitive [] primTable = LoadPrimitives(binaryReader, 0, (uint)Strip(faslHeader.primSize), faslHeader.primLength); FaslSection cTable = FaslSection.Load(binaryReader, 0, Strip(faslHeader.cSize), faslHeader.cSize); return(new FaslFile(faslHeader, heapSection, constSection, primTable, cTable)); }
public FaslFile(FaslHeader faslHeader, FaslSection heapSection, FaslSection constSection, Primitive [] primSection, FaslSection cSection) { this.faslHeader = faslHeader; this.heapSection = heapSection; this.constSection = constSection; this.primSection = primSection; this.cSection = cSection; this.sharingTable = new Dictionary<uint, object> (); }