resqpy.olio.uuid.uuid_as_bytes

resqpy.olio.uuid.uuid_as_bytes(uuid_obj)[source]

Returns the uuid as a 16 byte bytes sequence; same as uuid_obj.bytes.

Parameters:

uuid_obj (uuid.UUID object) – the uuid for which a bytes representation is required

Returns:

bytes (16 bytes long)