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

Bounded reader over one exact payload extent. More...

Collaboration diagram for mdl_state_reader_t:

Data Fields

mdl_storage_tstorage
 Caller-owned stream scratch.
fw_fs_file_tfile
 Open portable source file.
uint64_t remaining
 Bytes not yet delivered.
uint32_t cursor
 Next buffered byte.
uint32_t available
 Buffered byte count.

Detailed Description

Bounded reader over one exact payload extent.

Definition at line 725 of file mdl_state_codec.c.

Field Documentation

◆ available

uint32_t mdl_state_reader_t::available

Buffered byte count.

Definition at line 730 of file mdl_state_codec.c.

Referenced by internal_mdl_state_reader_byte(), and internal_mdl_state_reader_refill().

◆ cursor

uint32_t mdl_state_reader_t::cursor

Next buffered byte.

Definition at line 729 of file mdl_state_codec.c.

Referenced by internal_mdl_state_reader_byte(), and internal_mdl_state_reader_refill().

◆ file

fw_fs_file_t* mdl_state_reader_t::file

Open portable source file.

Definition at line 727 of file mdl_state_codec.c.

Referenced by internal_mdl_state_reader_refill().

◆ remaining

uint64_t mdl_state_reader_t::remaining

Bytes not yet delivered.

Definition at line 728 of file mdl_state_codec.c.

Referenced by internal_mdl_state_reader_refill().

◆ storage

mdl_storage_t* mdl_state_reader_t::storage

Caller-owned stream scratch.

Definition at line 726 of file mdl_state_codec.c.

Referenced by internal_mdl_state_reader_byte(), and internal_mdl_state_reader_refill().


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