Function dump_strings

Source
pub fn dump_strings<T: Config>(
    strings_config: &T,
    output: PathBuf,
) -> Result<(), Box<dyn Error>>
Expand description

Dump strings from binary data to json file.

Examples:

use std::path::PathBuf;
use rust_strings::{BytesConfig, dump_strings};

let config = BytesConfig::new(b"test\x00".to_vec());
dump_strings(&config, PathBuf::from("strings.json"));