Functions of ballerina.lang.blobs package
function toString(blob b, string encoding) (string )
Converts BLOB to a string
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
b | blob | BLOB value to be converted |
encoding | string | Encoding to used in blob conversion to string |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
string | String representation of the given BLOB |