voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
20 lines (11 loc) • 517 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) > [toBase64](./firestore_lite.bytes.tobase64.md)
## Bytes.toBase64() method
Returns the underlying bytes as a Base64-encoded string.
<b>Signature:</b>
```typescript
toBase64(): string;
```
<b>Returns:</b>
string
The Base64-encoded string created from the `Bytes` object.