citi

Crates.iociti
lib.rsciti
version0.2.0
sourcesrc
created_at2021-07-08 20:05:50.072526
updated_at2021-07-08 21:23:53.827864
descriptionRead and write CITI files
homepage
repositoryhttps://github.com/Wave-View-Imaging/citi
max_upload_size
id420464
size199,850
Akash (justkash)

documentation

README

IO Example

Read file:

use citi::Record;
use std::fs::File;

let mut file = File::open("file.cti").unwrap();
let record = Record::from_reader(&mut file);

Write file:

use citi::Record;
use std::fs::File;

let record = Record::default();
let mut file = File::create("file.cti").unwrap();
record.to_writer(&mut file);
Commit count: 107

cargo fmt