Skip to content
tnetstring serialization library for rust.
Latest commit bacf128 Nov 10, 2014 @erickt update travis

TNetStrings: Tagged Netstrings

This module implements bindings for the tnetstring serialization format.


let t = tnetstring::str("hello world");
let s = tnetstring::to_str(t) // returns "11:hello world,"

let (t, extra) = tnetstring::from_str(s);
alt option::get(t) {
  tnetstring::str(s) { ... }

See the tests module in for more examples.


Use tag v0.1 with Rust 0.2.

Something went wrong with that request. Please try again.