public CVMExecutableListing(Stream stream) { using (BinaryReader reader = new BinaryReader(stream, System.Text.Encoding.Default, true)) _rootDirectoryListing = new CVMDirectoryListing(reader, null); }
internal CVMDirectoryListingEntry(BinaryReader reader, CVMDirectoryListing originDirList) { _originDirList = originDirList; _header = reader.ReadStructure<DirectoryListingEntryHeader>(DirectoryListingEntryHeader.SIZE); }
public CVMExecutableListing(string path) { using (BinaryReader reader = new BinaryReader(File.OpenRead(path))) _rootDirectoryListing = new CVMDirectoryListing(reader, null); }