int32 WriterImplBase::WritePackageAttributes( const PackageAttributeList& packageAttributes, uint32& _stringsLengthUncompressed) { // write the cached strings uint32 stringsCount = WriteCachedStrings(fPackageStringCache, 2); _stringsLengthUncompressed = DataWriter()->BytesWritten(); _WritePackageAttributes(packageAttributes); return stringsCount; }
int32 WriterImplBase::WritePackageAttributes( const PackageAttributeList& packageAttributes, uint32& _stringsLengthUncompressed) { // write the cached strings uint64 startOffset = fHeapWriter->UncompressedHeapSize(); uint32 stringsCount = WriteCachedStrings(fPackageStringCache, 2); _stringsLengthUncompressed = fHeapWriter->UncompressedHeapSize() - startOffset; _WritePackageAttributes(packageAttributes); return stringsCount; }