voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
25 lines (14 loc) • 729 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/firestore](./firestore.md) > [lite](./firestore_lite.md) > [Bytes](./firestore_lite.bytes.md) > [fromBase64String](./firestore_lite.bytes.frombase64string.md)
## Bytes.fromBase64String() method
Creates a new `Bytes` object from the given Base64 string, converting it to bytes.
<b>Signature:</b>
```typescript
static fromBase64String(base64: string): Bytes;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| base64 | string | The Base64 string used to create the <code>Bytes</code> object. |
<b>Returns:</b>
[Bytes](./firestore_lite.bytes.md)