public static PeDirectoryEntry ToPe(this IcoDirectoryEntry entry) { if (entry == null) { throw new ArgumentNullException("entry"); } return(new PeDirectoryEntry(entry)); }
private void Parse(Stream icoStream) { Entries = new IcoDirectoryEntry[Count]; for (var i = 0; i < Count; i++) { Entries[i] = new IcoDirectoryEntry(icoStream); } Validate(); }
public IcoDirectory() { Entries = new IcoDirectoryEntry[0]; }
private void Parse(Stream icoStream) { Entries = new IcoDirectoryEntry[Count]; for (var i = 0; i < Count; i++) Entries[i] = new IcoDirectoryEntry(icoStream); Validate(); }
public IcoDirectoryEntry(IcoDirectoryEntry entry) : base(entry) { ImageOffset = entry.ImageOffset; }