symbolic-common 5.2.0

Common types and utilities for symbolic, a library to symbolicate and process stack traces from native applications, minidumps, minified JavaScripts or ProGuard optimized Android apps.
Documentation
extern crate symbolic_common;

use std::env;
use std::fs;

use symbolic_common::byteview::ByteView;

#[test]
fn test_basics() {
    let mut path = env::temp_dir();
    path.push(".c0b41a59-801b-4d18-aaa1-88432736116d.empty");
    {
        fs::File::create(&path).unwrap();
    }
    let bv = ByteView::from_path(&path).unwrap();
    assert_eq!(&bv[..], &b""[..]);
    fs::remove_file(&path).unwrap();
}