Function uuid_simd::parse_simple

source ·
pub fn parse_simple<'d>(
    src: &[u8],
    dst: Out<'d, [u8; 16]>
) -> Result<&'d mut [u8; 16], Error>
Expand description

Parses a simple UUID from arbitrary bytes.

Errors

This function returns Err if:

  • The length of src doesn’t match the “simple” format.
  • The content of src is invalid.