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

In-memory EPUB media descriptor. More...

#include <epub.h>

Data Fields

const uint8_t * data
 Pointer to the EPUB byte stream.
size_t size
 Length of the EPUB byte stream, bytes.

Detailed Description

In-memory EPUB media descriptor.

Used by the host-test build (and by any caller that has already loaded the entire .epub into RAM). Pass the address of an instance of this struct as the media argument to epub_open().

Invariant
data non-NULL, size > 0.
See also
epub_open()

Definition at line 179 of file epub.h.

Field Documentation

◆ data

const uint8_t* epub_mem_media_t::data

Pointer to the EPUB byte stream.

Definition at line 180 of file epub.h.

Referenced by epub_open(), and priv_epub_mem_read().

◆ size

size_t epub_mem_media_t::size

Length of the EPUB byte stream, bytes.

Definition at line 181 of file epub.h.

Referenced by epub_open(), and priv_epub_mem_read().


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