Loading...
Searching...
No Matches
exif_document Struct Reference
Caller-owned bounded writer with no heap allocation. More...
#include <exifite.h>
Collaboration diagram for exif_document:

Data Fields | |
| struct exif_item | entries [EXIF_MAX_ENTRIES] |
| size_t | count |
| size_t | used |
| unsigned char | data [EXIF_MAX_PAYLOAD] |
Detailed Description
Caller-owned bounded writer with no heap allocation.
Initialize before use. Large documents are usually best kept in a caller workspace rather than a deeply nested stack frame. All stored numeric values are little-endian, giving serialization a single predictable path.
- Warning
- Any mutation may invalidate previously borrowed field pointers.
Field Documentation
◆ count
| size_t exif_document::count |
◆ data
| unsigned char exif_document::data[EXIF_MAX_PAYLOAD] |
◆ entries
| struct exif_item exif_document::entries[EXIF_MAX_ENTRIES] |
Active fields occupy the first exif_document::count slots.
◆ used
| size_t exif_document::used |
The documentation for this struct was generated from the following file:
- src/exifite.h