function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Venkat narayan 8Venkat narayan 8 

iam getting some some response as binary code. how to convert it into string as display it in the VF page as a PDF

I'am getting this response from the server
<BinaryBarcodes>        
        <Type>COMMON_2D</Type> <Value>Wyk+HjAxHTAyNzY5MDAzHTM1Nh0wNR03OTQ2MTkwODYzOTAwNDY3HUZERR01MTAwODcyNDAdMjMyHR0xLzIdNS4wMEtHHU4dUXIuTm8tRC8zMDEdUk9VUktFTEEdICAdVmluYXkgU2hhcm1hHjA2HTEwWkVJSTA3HTExWlZlbmthdB0xMloxMjM0NTY2Nx0xNVoxMTkwNjI0MTIdMzFaMTAxODQ1NzMzMzE0MTA4OTEwMzkwMDc5NDYxOTA4NjM5MB0zMlowMh0zOVpSUktBHR4wOR1GRFgdeh04HSMjEBkzOn9AHgQ=</Value>                            
</BinaryBarcodes>
I want to convert this Binary code into string as key value pair and display in VF page as PDF format. How to acheive it?
Rambo SusonRambo Suson
String myString = 'StringToBlob';
Blob myBlob = Blob.valueof(myString);
System.assertEquals('StringToBlob', myBlob.toString());