File persistence.h
↰ Parent directory (include_public/anj)
Persistence API for storing and restoring Anjay Lite state.
Definition (include_public/anj/persistence.h)
Detailed Description
Provides a generic context/stream abstraction with read/write callbacks. Used by higher-level modules to serialize internal state, security information, or application data to a platform-specific medium.
Supports storing/restoring primitive types, strings, fixed-size buffers, and validating blobs with “magic” tags.
The binary format is not portable across architectures or compiler ABIs. Persisted data is only guaranteed to be valid on the same platform/build.
Includes
anj/init.h(File init.h)stdbool.hstdint.hstring.h