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