Expand description
Parser for the PalmDB format
This was created using a spec at the MobileRead wiki here: https://wiki.mobileread.com/…, as well as from the Calibre implementation here: https://github.com/kovidgoyal/calibre/…
§Example
ⓘ
extern crate palmdb;
use palmdb::PalmDB;
use std::fs::File;
use std::io::Read;
let mut db_file = File::open("/path/to/some/palmdb/file")?;
let mut input = vec![];
db_file.read_to_end(&mut input)?;
let db = PalmDB::parse(&input).expect("Couldn't parse DB");
Structs§
- The Error type.
- Represents a parsed PalmDB
- Metadata for a specific record
Enums§
- The kind of an error.
Traits§
- Additional methods for
Result
, for easy interaction with this crate.
Type Aliases§
- Convenient wrapper around
std::Result
.