toBase64

open external fun toBase64(options: ToBase64Options = definedExternally): String(source)

MDN Reference