uuid_from_u32

Function uuid_from_u32 

Source
pub fn uuid_from_u32(value: u32) -> Uuid
Expand description

Create Uuid from u32.

ยงExamples

use ble_data_struct::uuid_from_u32;
use uuid::uuid;

assert_eq!(
    uuid!("12345678-0000-1000-8000-00805F9B34FB"),
    uuid_from_u32(0x12345678)
);