Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
sapi_const_buffer_t Struct Reference

Read-only view of a buffer's currently valid bytes. Grants no write access to the underlying storage. More...

#include <sapi_buffer.h>

Data Fields

const void * data
size_t length

Detailed Description

Read-only view of a buffer's currently valid bytes. Grants no write access to the underlying storage.

Definition at line 46 of file sapi_buffer.h.

Field Documentation

◆ data

const void* sapi_const_buffer_t::data

Read-only pointer into caller-owned storage.

Definition at line 48 of file sapi_buffer.h.

◆ length

size_t sapi_const_buffer_t::length

Number of valid bytes at data.

Definition at line 49 of file sapi_buffer.h.


The documentation for this struct was generated from the following file: