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

Stable seek+read descriptor bound to the CBZ backend's miniz reader. More...

#include <comic.h>

Data Fields

comic_read_fn read
 Backing reader (mirrors comic_t::read).
void * ctx
 Backing context.
uint64_t size
 Archive length in bytes.

Detailed Description

Stable seek+read descriptor bound to the CBZ backend's miniz reader.

Held inside comic_t so miniz's I/O-opaque pointer has a lifetime address; the CBR backend leaves it unused.

Invariant
read != NULL once comic_open has bound a CBZ.
Since
Version 0.1.0

Definition at line 159 of file comic.h.

Field Documentation

◆ ctx

void* comic_stream_t::ctx

Backing context.

Definition at line 161 of file comic.h.

Referenced by internal_open_detect(), internal_stream_read(), and priv_comic_cbz_open().

◆ read

comic_read_fn comic_stream_t::read

Backing reader (mirrors comic_t::read).

Definition at line 160 of file comic.h.

Referenced by internal_open_detect(), internal_stream_read(), and priv_comic_cbz_open().

◆ size

uint64_t comic_stream_t::size

Archive length in bytes.

Definition at line 162 of file comic.h.

Referenced by internal_open_detect(), and internal_stream_read().


The documentation for this struct was generated from the following file:
  • apps/shared_libs/comic/inc/comic.h