public ForkEntry( CompactProArchive archive, MacFileEntry parent, string name, uint offsetCompressed, uint lengthCompressed, uint lengthUncompressed, ushort type) : base(archive, parent, name) { this.offsetCompressed = offsetCompressed; this.lengthCompressed = lengthCompressed; this.lengthUncompressed = lengthUncompressed; this.type = type; }
public ForkFolder(CompactProArchive archive, MacFileEntry parent, FileHdr hdr) { rsrcFork = new ForkEntry(archive, parent, "rsrc", hdr.filepos, hdr.compRLength, hdr.rsrcLength, ((ushort)(hdr.cptFlag & 2))); dataFork = new ForkEntry(archive, parent, "data", hdr.filepos + hdr.compRLength, hdr.compDLength, hdr.dataLength, ((ushort)(hdr.cptFlag & 4))); }