serializer Component Requirements#

These requirements cover the serializer plugin interface and the null serializer that passes pre-serialized payloads through unchanged.

Serializer reports failure instead of invalid data
status: valid
security: NO
safety: ASIL_B
reqtype: Interface
version: 1
satisfied by: comp__serializer

The serializer shall return a result code other than score_com_serializer_result_ok when a serialization or deserialization cannot be completed, and shall not report a written size for a failed serialization.

Null serializer preserves payload bytes
status: valid
security: NO
safety: ASIL_B
reqtype: Functional
version: 1
satisfied by: comp__null_serializer

The null serializer shall copy the payload bytes of a message unchanged between the application data type and the SOME/IP payload buffer, and shall fail with a serialization or deserialization failure result when the payload exceeds the target buffer size.