Requirements#

Utils Library Requirements
status: draft
safety: ASIL_B
tags: requirements, utils_library

Functional Requirements#

Base64 Encoding and Decoding
status: valid
security: NO
safety: ASIL_B

The Utils component shall provide functions for encoding data to Base64 format and decoding Base64 data back to its original form.

PIMPL Pointer Implementation
status: valid
security: NO
safety: ASIL_B

The Utils component shall provide a stack-based Pointer-to-Implementation Idiom implementation that avoids dynamic memory allocation by using fixed-size, aligned storage buffers.

Scoped Operation Management
status: valid
security: NO
safety: ASIL_B

The Utils component shall provide a functionality that stores a callback and executes it automatically when the class is destructed

Non-Functional Requirements#

Deterministic Behavior
status: valid
security: NO
safety: ASIL_B

The Utils component shall ensure that all operations complete in a predictable manner and without dynamic memory allocation.