UNPKG

voluptasmollitia

Version:
26 lines (17 loc) 1.32 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@firebase/firestore](./firestore.md) &gt; [lite](./firestore_lite.md) &gt; [Bytes](./firestore_lite.bytes.md) ## Bytes class An immutable object representing an array of bytes. <b>Signature:</b> ```typescript export declare class Bytes ``` ## Methods | Method | Modifiers | Description | | --- | --- | --- | | [fromBase64String(base64)](./firestore_lite.bytes.frombase64string.md) | <code>static</code> | Creates a new <code>Bytes</code> object from the given Base64 string, converting it to bytes. | | [fromUint8Array(array)](./firestore_lite.bytes.fromuint8array.md) | <code>static</code> | Creates a new <code>Bytes</code> object from the given Uint8Array. | | [isEqual(other)](./firestore_lite.bytes.isequal.md) | | Returns true if this <code>Bytes</code> object is equal to the provided one. | | [toBase64()](./firestore_lite.bytes.tobase64.md) | | Returns the underlying bytes as a Base64-encoded string. | | [toString()](./firestore_lite.bytes.tostring.md) | | Returns a string representation of the <code>Bytes</code> object. | | [toUint8Array()](./firestore_lite.bytes.touint8array.md) | | Returns the underlying bytes in a new <code>Uint8Array</code>. |