byte-transcoder 0.0.6

A Rust+Typescript library to transcode higher-level data types to/from bytes.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::process::{Command, Output};

fn run_example(name: &str) {
    let output: Output = Command::new("cargo")
        .args(["run", "--example", name])
        .output()
        .expect("Failed to execute example");
    assert!(output.status.success());
}

#[test]
fn test_transcode() {
    run_example("transcode");
}