You need to sign in to do that
Don't have an account?
Barryb
Blob as an array of bytes?
Is it possible to view the value of individual bytes in a blob? We are trying to store a series of values within a blob and then reference them by looking at a range of bytes in that blob. Any ideas? Thanks, Barry
You can't see a blob as bytes, but you can use EncodingUtil.base64encode on the Blob to convert it to a string of ASCII-characters that represent binary bytes (see Base64 (Wikipedia) ) for details. With some effort, you can isolate the bytes in question, convert them to binary bytes, and do whatever else you want to do.
Hi sfdcfox,
Can you show how to extract individual bytes from base64encoded Blob? I have a requirement where I need to process the bytes in this Blob in a particular style to generate a key
Thanks,
kpr
Call "BlobToBytes" with a Blob, and it returns a list of integers representing the blob's bytes.