You need to sign in to do that
Don't have an account?
KRITHIKA BALASUBRAMANIAN
How do I decode this string to byte[] code and then back to HTML form.
Making a service call. Service is sending back the encoded code (blob) pulled from oracle database -> converted to byte[] -> and then converted to String form.
How do I decode this string to byte[] code and then back to HTML form.
How do I decode this string to byte[] code and then back to HTML form.
Maybe this link can help you: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_restful_encodingUtil.htm
I used base64Encode(inputBlob) for send HTML and base64Decode(inputString) for convert from base64 (encode String) to Blob (HTML) and update a Text Area (Rich).
I hope it helps you!
Regards.