#endian #binary #encode #decode

bincode_ext

Types & functions to extend the functionality of bincode

7 releases

Uses old Rust 2015

0.0.7 Jun 30, 2015
0.0.6 Jun 19, 2015
0.0.4 Apr 3, 2015
0.0.3 Feb 28, 2015

#74 in #endian

MIT license

6KB
107 lines

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
}

Dependencies

~225KB