Home > @firebase/firestore > lite > Bytes > fromUint8Array
Bytes.fromUint8Array() method
Creates a new Bytes object from the given Uint8Array.
Signature:
static fromUint8Array(array: Uint8Array): Bytes;
Parameters
| Parameter | Type | Description |
|---|---|---|
| array | Uint8Array | The Uint8Array used to create the Bytes object. |
Returns: