toBase64

Converts a File to a base64 encoded String.

Return

a base64 encoded version of the file.