Name

cyg_bundle_info — Length of raw item

Synopsis

#include <cyg/bundle/bundle_api.h>

uint32_t cyg_bundle_info(cyg_bundle_object_t *ic);

Description

This function returns the length of the referenced object data. For uncompressed items (or “arbitrary” attachments) this is the length of the data as held in the bundle image. For compressed items this is the length of the original, raw, data.

Return value

Length of item or 0 if cannot be ascertained.