On debugging I come to know about class "phpcassa\Schema\DataType\UUIDType"
Pack method in the class is doing exactly what I am looking for.
$Obj = unserialize($value);
$Obj->bytes
will gives us the byets value of the UUID4.
Posting it for future reference to my friends on internet.