Astarte.Core.Device.decode_extended_device_id
You're seeing just the function
decode_extended_device_id
, go back to Astarte.Core.Device module for more information.
Specs
decode_extended_device_id(encoded_device_id :: encoded_device_id()) :: {:ok, device_id :: device_id(), extended_id :: binary()} | {:error, atom()}
Decodes an extended Base64 url encoded device id.
Returns {:ok, device_id, extended_id}
(where device_id
is a binary with the first 128 bits of the decoded id and extended_id
the rest of the decoded binary) or {:error, reason}
.