本文整理汇总了C++中StreamReader::ReadDescriptor方法的典型用法代码示例。如果您正苦于以下问题:C++ StreamReader::ReadDescriptor方法的具体用法?C++ StreamReader::ReadDescriptor怎么用?C++ StreamReader::ReadDescriptor使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类StreamReader
的用法示例。
在下文中一共展示了StreamReader::ReadDescriptor方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: ExtractEmbeds
void SISEmbeds::ExtractEmbeds(StreamReader& aReader )
{
iEmbeddedPkgUid = aReader.ReadInt32();
iEmbeddedPkgName = aReader.ReadDescriptor();
iEmbeddedVendorName = aReader.ReadDescriptor();
iEmbeddedPkgIndex = aReader.ReadInt32();
}
示例2: ExtractSISFileDescription
void SISFileDescription::ExtractSISFileDescription(StreamReader& aReader )
{
iTarget = aReader.ReadDescriptor();
iMimeType = aReader.ReadDescriptor();
iOperation = aReader.ReadInt32();
//indicates which options are applicable to the processing of this file during installation
iOperationOptions = aReader.ReadInt32();
//indicates the algorithm used to generate the hash
iAlgorithm = aReader.ReadInt32();
iHash = aReader.ReadDescriptor();
iUncompressedLengthl = aReader.ReadInt32();
iUncompressedLengthh = aReader.ReadInt32();
iIndex = aReader.ReadInt32();
iSid = aReader.ReadInt32();
}
示例3: ExtractControllerInfo
void SISControllerInfo::ExtractControllerInfo(StreamReader& aReader )
{
iMajor = aReader.ReadInt32();
iMinor = aReader.ReadInt32();
iBuild = aReader.ReadInt32();
iOffset = aReader.ReadInt32();
iAlgorithmType = aReader.ReadInt32();
char* controllerHash = aReader.ReadDescriptor();
delete [] controllerHash;
}