/* * Get blob size information. */ static void GetBlobSize(ILSizeInfo *info, ILProgramItem *item, ILUInt32 offset) { ILUInt32 len; unsigned char lenbuf[IL_META_COMPRESS_MAX_SIZE]; if(ILImageGetBlob(ILProgramItem_Image(item), offset, &len)) { info->meta += len; info->meta += (unsigned long)(long)ILMetaCompressData(lenbuf, len); } }
const void *ILAttributeGetValue(ILAttribute *attr, unsigned long *len) { return ILImageGetBlob(attr->programItem.image, attr->value, len); }
const void *ILAttributeGetValue(ILAttribute *attr, ILUInt32 *len) { return ILImageGetBlob(attr->programItem.image, attr->value, len); }