Name Description Size
byteorder.rs 9696
config
de
error.rs 4688
internal.rs 3693
lib.rs Bincode is a crate for encoding and decoding using a tiny binary serialization strategy. Using it, you can easily go from having an object in memory, quickly serialize it to bytes, and then deserialize it back just as fast! ### Using Basic Functions ```edition2018 fn main() { // The object that we will serialize. let target: Option<String> = Some("hello world".to_string()); let encoded: Vec<u8> = bincode::serialize(&target).unwrap(); let decoded: Option<String> = bincode::deserialize(&encoded[..]).unwrap(); assert_eq!(target, decoded); } ``` ### 128bit numbers Support for `i128` and `u128` is automatically enabled on Rust toolchains greater than or equal to `1.26.0` and disabled for targets which do not support it 6718
ser