The Firebase JS SDK is now in BETA!
This EAP site is no longer maintained. See the official Firebase Documentation site for the latest documentation and information about the Firebase JS SDK.

Home > @firebase/firestore > lite > Bytes > fromBase64String

Bytes.fromBase64String() method

Creates a new Bytes object from the given Base64 string, converting it to bytes.

Signature:

static fromBase64String(base64: string): Bytes;

Parameters

Parameter Type Description
base64 string The Base64 string used to create the Bytes object.

Returns:

Bytes