3 releases

0.1.2 Jul 5, 2023
0.1.1 May 30, 2023
0.1.0 May 30, 2023

#1326 in Parser implementations

MIT license

490KB
1.5K SLoC

Remarkable Lines File Parser

This parser understands and parses the files used by the Remarkable Paper Tablet. These files include many things under which is lines, color and text.

Support

Currently V3 up to V6 is supported. Although some bugs and undefined behavior might occur as this library is not yet widely tested. The parser will indicate if the version is not supported.

Some data points involve guess work as the file format is proprietery and is reverse engineered.

Reading a .rm file

You can read any remarkble file

use std::{fs::read};
use remarkable_lines::{RemarkableFile};

pub fn main() {
    let test_file = read("./test.rm").unwrap();
    let rm_file = RemarkableFile::read(&test_file[..]).unwrap();
    println!("{rm_file:?");
}

Resources used

File Format:

No runtime deps