正在加载图片...
symbian 4.1.2.1 SISField Type 4.1.2.2 SISFields field.The d by reading in all the fields until we have read all the data specified by the Length of the SISArray SISField. 4.1.2.3 Rationale In several places in the SIS file format an array of SISFields is needed,so in order to reduce code duplication a sIsArray type is provided. 4.1.3 SISCompressed This SISField is a wrapper around raw data,where the wrapped data can be optionally compressed This data can be a SISField which allows ea compressed SISString.and SISCompressed Length Compression Algorithm TUint32 4 bytes Uncompressed Data Size TUint64 8 bytes Compressed Data 4.1.3.1 Compression Algorithm This field contains the algorithm used to compress the data for this file TCompressionAlgorithm ECompressNone =0 //The data is uncompressed ECompressDeflate //The data is compressed according to RFC 1951 4.1.3.2 Uncompressed Data Size This field contains the size of the data,when it is uncompressed. 4.1.3.3 Compressed Data This field contains the raw compressed data. 4.1.4 SISVersion This sIsField provides a data structure for the storage of a version number,with major,minor and build components. SISVersion Length Maior TInt32 4 bytes Minor TInt32 4 bytes Build TInt32 4 bytes 10 www.symbian.com 10 4.1.2.1 SISField Type This field indicates the type of the SISFields in the array. All of the fields are of the same type and this will be checked on creation of the SISField from data, and addition of each new SISField. 4.1.2.2 SISFields This is a sequence of SISFields, whose type is equal to the value of the SISField type field. The SISField is only partially stored, the type being left out, as an optimisation since it can be determined from the SISField Type field of the SISArray. The number of fields can be determined by reading in all the fields until we have read all the data specified by the Length of the SISArray SISField. 4.1.2.3 Rationale In several places in the SIS file format an array of SISFields is needed, so in order to reduce code duplication a SISArray type is provided. 4.1.3 SISCompressed This SISField is a wrapper around raw data, where the wrapped data can be optionally compressed. This data can be a SISField which allows easy integration of compression into the SIS file format. The notation SISCompressed<SISString> will be used to indicate a compressed SISString, and SISCompressed<Raw Data> for compressed raw data. SISCompressed Length Compression Algorithm TUint32 4 bytes Uncompressed Data Size TUint64 8 bytes Compressed Data 4.1.3.1 Compression Algorithm This field contains the algorithm used to compress the data for this file. enum TCompressionAlgorithm { ECompressNone = 0, //The data is uncompressed ECompressDeflate //The data is compressed according to RFC 1951 }; 4.1.3.2 Uncompressed Data Size This field contains the size of the data, when it is uncompressed. 4.1.3.3 Compressed Data This field contains the raw compressed data. 4.1.4 SISVersion This SISField provides a data structure for the storage of a version number, with major, minor and build components. SISVersion Length Major TInt32 4 bytes Minor TInt32 4 bytes Build TInt32 4 bytes
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有