# saxon:base64Binary-to-string()

saxon:base64Binary-to-string($in as xs:base64Binary, $encoding as xs:string) ==> xs:string

This function takes as input an `xs:base64Binary` value and the name of a character encoding (for example "UTF8"). It interprets the contents of the base64 value as a sequence of bytes representing a character string in a particular encoding, and returns the corresponding string.

For example, the call `saxon:base64Binary-to-string(xs:base64Binary("RGFzc2VsIA=="), "UTF8")` returns the string "Dassel".

Next