mobi library

MOBI and AZW3 parsing entry points.

Classes

ArchiveEntry
A physical entry of a book's container archive.
BinaryFile
Represents a binary book file.
Book
A fully parsed book, independent of its source format.
BookCover
A book cover: raw bytes plus the detected image type.
BookFile
Abstract representation of a file inside a book container.
BookMetadata
Format-agnostic book metadata extracted from any supported book file.
BookStatistics
Basic reading statistics computed from book content.
DocumentBook
A document-backed book produced by text and office-format adapters.
Files
The files contained in a parsed book.
MobiBook
A parsed MOBI 6 / KF8 (AZW3) book.
MobiChapter
A chapter of a MOBI 6 book, split from its single HTML stream at the table of contents anchors.
The navigation (table of contents) of a book.
Represents a navigation point (table of contents entry) in a book.
ReadingOrderItem
One entry of a book's reading order.
TextFile
Represents a text book file.

Enums

BookFormat
The book formats supported by unseal.

Functions

parseMobiBook(Uint8List bytes) → MobiBook
Parses a MOBI / AZW3 book from raw bytes into a MobiBook.
readMobiMetadata(Uint8List bytes) → BookMetadata
Reads only the metadata of a MOBI / AZW3 book from bytes.

Exceptions / Errors

MobiException
Error thrown while reading or parsing a MOBI / AZW3 book.