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