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

Cached inflated-chunk view used by arbitrary flat-source reads. More...

Collaboration diagram for chunk_validate_t:

Data Fields

book_chunked_trd
 Open compressed reader.
uint8_t * chunk
 Caller-owned inflated chunk.
uint32_t loaded_idx
 Cached chunk index.
uint32_t loaded_len
 Exact cached inflated byte span.
bool loaded
 Whether the cache contains data.

Detailed Description

Cached inflated-chunk view used by arbitrary flat-source reads.

Definition at line 21 of file book_chunked_validate.c.

Field Documentation

◆ chunk

uint8_t* chunk_validate_t::chunk

Caller-owned inflated chunk.

Definition at line 23 of file book_chunked_validate.c.

Referenced by internal_chunk_flat_read(), and internal_load_chunk().

◆ loaded

bool chunk_validate_t::loaded

Whether the cache contains data.

Definition at line 26 of file book_chunked_validate.c.

Referenced by internal_load_chunk().

◆ loaded_idx

uint32_t chunk_validate_t::loaded_idx

Cached chunk index.

Definition at line 24 of file book_chunked_validate.c.

Referenced by internal_load_chunk().

◆ loaded_len

uint32_t chunk_validate_t::loaded_len

Exact cached inflated byte span.

Definition at line 25 of file book_chunked_validate.c.

Referenced by internal_chunk_flat_read(), and internal_load_chunk().

◆ rd

book_chunked_t* chunk_validate_t::rd

Open compressed reader.

Definition at line 22 of file book_chunked_validate.c.

Referenced by internal_chunk_flat_read(), and internal_load_chunk().


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