toBase64
toBase64(
data):string
Defined in: core/input-content.ts:307
Convert data to base64 string.
Parameters
Section titled “Parameters”Data to encode (Buffer, Uint8Array, or already base64 string)
string | Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>
Returns
Section titled “Returns”string
Base64-encoded string