Function uuid_simd::parse

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

Parses an UUID from arbitrary bytes.

Errors

This function returns Err if:

  • The length of src doesn’t match any UUID format variants.
  • The content of src is invalid.