[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-07-27 UTC."],[],[],null,["# Blob | JavaScript SDK\n\n- [firebase](/docs/reference/node/firebase).\n- [firestore](/docs/reference/node/firebase.firestore).\n- Blob\n===========================================================================================================\n\nAn immutable object representing an array of bytes.\n\nIndex\n-----\n\n### Constructors\n\n- [constructor](/docs/reference/node/firebase.firestore.Blob#constructor)\n\n### Methods\n\n- [isEqual](/docs/reference/node/firebase.firestore.Blob#isequal)\n- [toBase64](/docs/reference/node/firebase.firestore.Blob#tobase64)\n- [toUint8Array](/docs/reference/node/firebase.firestore.Blob#touint8array)\n- [fromBase64String](/docs/reference/node/firebase.firestore.Blob#frombase64string)\n- [fromUint8Array](/docs/reference/node/firebase.firestore.Blob#fromuint8array)\n\nConstructors\n------------\n\n### Private constructor\n\n- new Blob ( ) : [Blob](/docs/reference/node/firebase.firestore.Blob)\n-\n\n #### Returns [Blob](/docs/reference/node/firebase.firestore.Blob)\n\nMethods\n-------\n\n### isEqual\n\n- isEqual ( other : [Blob](/docs/reference/node/firebase.firestore.Blob) ) : boolean\n- Returns true if this `Blob` is equal to the provided one.\n\n #### Parameters\n\n -\n\n ##### other: [Blob](/docs/reference/node/firebase.firestore.Blob)\n\n The `Blob` to compare against.\n\n #### Returns boolean\n\n true if this `Blob` is equal to the provided one.\n\n### toBase64\n\n- toBase64 ( ) : string\n- Returns the bytes of a Blob as a Base64-encoded string.\n\n #### Returns string\n\n The Base64-encoded string created from the Blob object.\n\n### toUint8Array\n\n- toUint8Array ( ) : Uint8Array\n- Returns the bytes of a Blob in a new Uint8Array.\n\n #### Returns Uint8Array\n\n The Uint8Array created from the Blob object.\n\n### Static fromBase64String\n\n- fromBase64String ( base64 : string ) : [Blob](/docs/reference/node/firebase.firestore.Blob)\n- Creates a new Blob from the given Base64 string, converting it to\n bytes.\n\n #### Parameters\n\n -\n\n ##### base64: string\n\n The Base64 string used to create the Blob object.\n\n #### Returns [Blob](/docs/reference/node/firebase.firestore.Blob)\n\n### Static fromUint8Array\n\n- fromUint8Array ( array : Uint8Array ) : [Blob](/docs/reference/node/firebase.firestore.Blob)\n- Creates a new Blob from the given Uint8Array.\n\n #### Parameters\n\n -\n\n ##### array: Uint8Array\n\n The Uint8Array used to create the Blob object.\n\n #### Returns [Blob](/docs/reference/node/firebase.firestore.Blob)"]]
An immutable object representing an array of bytes.