ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
media_download_memory_t Struct Reference

Mutable bounds for one formatter-owned in-memory spool. More...

#include <media_download_format_internal.h>

Data Fields

uint8_t * bytes
 Writable backing bytes.
uint32_t capacity
 Maximum accessible byte extent.
uint32_t length
 Highest initialized byte plus one.

Detailed Description

Mutable bounds for one formatter-owned in-memory spool.

Invariant
length <= capacity.
A nonzero capacity has a writable bytes backing span.
Since
0.1.0

Definition at line 62 of file media_download_format_internal.h.

Field Documentation

◆ bytes

uint8_t* media_download_memory_t::bytes

Writable backing bytes.

Definition at line 63 of file media_download_format_internal.h.

Referenced by priv_media_download_memory_read(), and priv_media_download_memory_write_at().

◆ capacity

uint32_t media_download_memory_t::capacity

Maximum accessible byte extent.

Definition at line 64 of file media_download_format_internal.h.

Referenced by priv_media_download_memory_write_at().

◆ length

uint32_t media_download_memory_t::length

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