Crate blob_uuid [] [src]

Enums

ConvertError

Functions

to_blob

Convert uuid to a 22 character string blob ```rust extern crate blob_uuid; fn main(){ let uuid = Uuid::parse_str("557c8018-5e21-4b74-8bb0-9040e2e8ead1").unwrap(); assert_eq!("VXyAGF4hS3SLsJBA4ujq0Q", blob_uuid::to_blob(uuid)); }

to_uuid

Convert a string blob back to uuid rust extern crate blob_uuid; fn main(){ let uuid = Uuid::parse_str("557c8018-5e21-4b74-8bb0-9040e2e8ead1").unwrap(); assert_eq!(uuid, blob_uuid::to_uuid("VXyAGF4hS3SLsJBA4ujq0Q").unwrap()); }