示例#1
0
 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);
 }
示例#3
0
 public CVMExecutableListing(string path)
 {
     using (BinaryReader reader = new BinaryReader(File.OpenRead(path))) 
         _rootDirectoryListing = new CVMDirectoryListing(reader, null);
 }