bincode_ext 0.0.6

Types & functions to extend the functionality of bincode.
Documentation

Extentions for Bincode (Binary Encoder / Decoder)

Build Status

Example

extern crate bincode;
extern crate bincode_ext;

use bincode_ext::byte_order::Le;

#[derive(RustcEncodable, RustcDecodable, PartialEq)]
struct Foo {
	x: Le<u32>, // little endian
	y: u32,     // big endian, due to defaults in bincode
}