Xteink-X4-crosspoint-reader/lib
IFAKA 0ea1ef29a4 fix: add bounds checks to Epub getter functions
- getCumulativeSpineItemSize(): Add bounds check before .at()
- getSpineItem(): Handle empty spine case to prevent exception
- getTocItem(): Handle empty toc case to prevent exception

Uses static fallback objects for reference returns when containers
are empty, preventing exceptions from .at(0) on empty vectors.
2025-12-20 19:26:51 +01:00
..
EpdFont Fix font readability by expanding blacks and trimming whites (#55) 2025-12-18 21:39:13 +11:00
Epub fix: add bounds checks to Epub getter functions 2025-12-20 19:26:51 +01:00
expat Add expat and swap out EPUB HTML parser (#2) 2025-12-06 20:57:24 +11:00
GfxRenderer Custom sleep screen support with BMP reading (#57) 2025-12-19 08:45:14 +11:00
miniz Stream inflated EPUB HTMLs down to disk instead of inflating in memory (#4) 2025-12-08 00:39:17 +11:00
Serialization Public release 2025-12-03 22:06:45 +11:00
Utf8 Public release 2025-12-03 22:06:45 +11:00
ZipFile Add NULL checks after fopen() in ZipFile (#68) 2025-12-19 23:28:43 +11:00
README Public release 2025-12-03 22:06:45 +11:00

This directory is intended for project specific (private) libraries.
PlatformIO will compile them to static libraries and link into the executable file.

The source code of each library should be placed in a separate directory
("lib/your_library_name/[Code]").

For example, see the structure of the following example libraries `Foo` and `Bar`:

|--lib
|  |
|  |--Bar
|  |  |--docs
|  |  |--examples
|  |  |--src
|  |     |- Bar.c
|  |     |- Bar.h
|  |  |- library.json (optional. for custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html
|  |
|  |--Foo
|  |  |- Foo.c
|  |  |- Foo.h
|  |
|  |- README --> THIS FILE
|
|- platformio.ini
|--src
   |- main.c

Example contents of `src/main.c` using Foo and Bar:
```
#include <Foo.h>
#include <Bar.h>

int main (void)
{
  ...
}

```

The PlatformIO Library Dependency Finder will find automatically dependent
libraries by scanning project source files.

More information about PlatformIO Library Dependency Finder
- https://docs.platformio.org/page/librarymanager/ldf.html