コード例 #1
0
 public CvmExecutableListing(Stream stream, bool leaveOpen = false)
 {
     using (BinaryReader reader = new BinaryReader(stream, System.Text.Encoding.Default, leaveOpen))
         mRootDirectoryListing = new CvmDirectoryListing(reader, null);
 }
コード例 #2
0
 internal CvmDirectoryListingEntry(BinaryReader reader, CvmDirectoryListing originDirList)
 {
     mOriginDirList = originDirList;
     mHeader        = reader.ReadStructure <DirectoryListingEntryHeader>(DirectoryListingEntryHeader.SIZE);
 }
コード例 #3
0
 public CvmExecutableListing(string path)
 {
     using (BinaryReader reader = new BinaryReader(File.OpenRead(path)))
         mRootDirectoryListing = new CvmDirectoryListing(reader, null);
 }
コード例 #4
0
 public CvmExecutableListing(Stream stream)
 {
     using (BinaryReader reader = new BinaryReader(stream, System.Text.Encoding.Default, true))
         mRootDirectoryListing = new CvmDirectoryListing(reader, null);
 }