Esempio n. 1
0
 public NsoSegment(uint addr, byte[] data, NsoSegmentType type, uint bssOrAlign = 0x100, bool compressed = true)
 {
     SegmentType      = type;
     Compressed       = compressed;
     FileOffset       = 0;
     RawData          = data;
     Address          = addr;
     DecompressedSize = (uint)data.Length;
     BssOrAlign       = bssOrAlign;
 }
Esempio n. 2
0
 public void ExtractSegment(string path, NsoSegmentType segType)
 {
     ExtractSegment(path, segments[(int)segType]);
 }