String str = 'myString';
Blob b = Blob.valueOf(str);
System.debug(b);
System.debug(b.size());
System.debug(str);
Here if I print str
then the value of str(I believe it is usingvalueOf()
method explicitly) is printed but when I print b
then the it returns the size, why? If I want to know the value of blob(binary data for the same) then how can I extract that?