There are currently no methods available that convert directly from a KLV value to a UUID or a UMID, but you can read the data bytes and use these to build a UUID or UMID object. For example:
Code:
PackagePtr ThisPackage = { read the package }
UUIDPtr InstanceUID;
DataChunkPtr InstanceData = ThisPackage[InstanceUID_UL]->PutData();
if(InstanceData->Size == 16)
{
InstanceUID = new mxflib::UUID(InstanceData->Data);
}
Note how you have to qualify UUID as there is a UUID class defined by Visual Studio