Apex Code Snippet to Convert Blob into String
Blob fileData; // assign some blob String fileDataAsString = fileData.toString();
Apex Code Snippet to Convert String into Blob
String fileDataAsString = 'abcdef'; Blob fileData = Blob.valueOf(fileDataAsString);