(array)
| 1465 | } |
| 1466 | |
| 1467 | static fromUint8Array(array) { |
| 1468 | if (!(array instanceof Uint8Array)) { |
| 1469 | throw new Error('Bytes.fromUint8Array expects an instance of Uint8Array'); |
| 1470 | } |
| 1471 | |
| 1472 | const bytes = new Bytes(); |
| 1473 | bytes._native = com.google.firebase.firestore.Blob.fromBytes(Array.from(array)); |
| 1474 | return bytes; |
| 1475 | } |
| 1476 | |
| 1477 | _base64: string; |
| 1478 | toBase64(): string { |
nothing calls this directly
no outgoing calls
no test coverage detected