Search the reference...
/
BuildDocsReferenceGuidesBlogDiscord/Globals/Blob/bytesMbytesmethod
Blob.bytesbytes(): PromiseUint8ArrayArrayBufferLike>>;MDN Referencebytes(): PromiseUint8ArrayArrayBuffer>>;Returns a promise that resolves to the contents of the blob as a Uint8Array (array of bytes) its the same as new Uint8Array(await blob.arrayBuffer())Referenced typesclass Uint8ArrayTArrayBuffer extends ArrayBufferLike = ArrayBufferLike>A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the requested number of bytes could not be allocated an exception is raised.readonly [Symbol.toStringTag]: 'Uint8Array'readonly buffer: TArrayBufferThe ArrayBuffer instance referenced by the array.readonly byteLength: numberThe length in bytes of the array.readonly byteOffset: numberThe offset in bytes of the array.readonly BYTES_PER_ELEMENT: numberThe size in bytes of each element in the array.readonly length: numberThe length of the array.[Symbol.iterator](): ArrayIteratornumber>;at(index: number): undefined | number;Returns the item located at the specified index.@param indexThe zero-based index of the desired code unit. A negative index will count back from the last item.copyWithin(target: number,start: number,end?: number): this;Returns the this object after copying a section of the array identified by start and end to the same array starting at position target@param targetIf target is negative, it is treated as length+target where length is the length of the array.@param startIf start is negative, it is treated as length+start. If end is negative, it is treated as length+end.@param endIf not specified, length of the this object is used as its default value.entries(): ArrayIterator[number, number]>;Returns an array of key, value pairs for every entry in the arrayevery(predicate: (value: number, index: number, array: this) => unknown,thisArg?: any): boolean;Determines whether all the members of an array satisfy the specified test.@param predicateA function that accepts up to three arguments. The every method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value false, or until the end of the array.@param thisArgAn object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.fill(value: number,start?: number,end?: number): this;Changes all array elements from start to end index to a static value and returns the modified array@param valuevalue to fill array section with@param startindex to start filling the array at. If start is negative, it is treated as length+start where length is the length of the array.@param endindex to stop filling the array at. If end is negative, it is treated as length+end.filter(predicate: (value: number, index: number, array: this) => any,thisArg?: any): Uint8ArrayArrayBuffer>;Returns the elements of an array that meet the condition specified in a callback function.@param predicateA function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.@param thisArgAn object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.find(predicate: (value: number, index: number, obj: this) => boolean,thisArg?: any): undefined | number;Returns the value of the first element in the array where predicate is true, and undefined otherwise.@param predicatefind calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, find immediately returns that element value. Otherwise, find returns undefined.@param thisArgIf provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.findIndex(predicate: (value: number, index: number, obj: this) => boolean,thisArg?: any): number;Returns the index of the first element in the array where predicate is true, and -1 otherwise.@param predicatefind calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, findIndex immediately returns that element index. Otherwise, findIndex returns -1.@param thisArgIf provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.findLastS extends number>(predicate: (value: number, index: number, array: this) => value is S,thisArg?: any): undefined | S;Returns the value of the last element in the array where predicate is true, and undefined otherwise.@param predicatefindLast calls predicate once for each element of the array, in descending order, until it finds one where predicate returns true. If such an element is found, findLast immediately returns that element value. Otherwise, findLast returns undefined.@param thisArgIf provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.findLast(predicate: (value: number, index: number, array: this) => unknown,thisArg?: any): undefined | number;findLastIndex(predicate: (value: number, index: number, array: this) => unknown,thisArg?: any): number;Returns the index of the last element in the array where predicate is true, and -1 otherwise.@param predicatefindLastIndex calls predicate once for each element of the array, in descending order, until it finds one where predicate returns true. If such an element is found, findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.@param thisArgIf provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.forEach(callbackfn: (value: number, index: number, array: this) => void,thisArg?: any): void;Performs the specified action for each element in an array.@param callbackfnA function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.@param thisArgAn object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.includes(searchElement: number,fromIndex?: number): boolean;Determines whether an array includes a certain element, returning true or false as appropriate.@param searchElementThe element to search for.@param fromIndexThe position in this array at which to begin searching for searchElement.indexOf(searchElement: number,fromIndex?: number): number;Returns the index of the first occurrence of a value in an array.@param searchElementThe value to locate in the array.@param fromIndexThe array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.join(separator?: string): string;Adds all the elements of an array separated by the specified separator string.@param separatorA string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.keys(): ArrayIteratornumber>;Returns an list of keys in the arraylastIndexOf(searchElement: number,fromIndex?: number): number;Returns the index of the last occurrence of a value in an array.@param searchElementThe value to locate in the array.@param fromIndexThe array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.map(callbackfn: (value: number, index: number, array: this) => number,thisArg?: any): Uint8ArrayArrayBuffer>;Calls a defined callback function on each element of an array, and returns an array that contains the results.@param callbackfnA function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.@param thisArgAn object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.@param callbackfnA function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number,initialValue: number): number;reduceU>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U,initialValue: U): U;Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.@param callbackfnA function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.@param initialValueIf initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number): number;Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.@param callbackfnA function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number,initialValue: number): number;reduceRightU>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U,initialValue: U): U;Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.@param callbackfnA function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.@param initialValueIf initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.reverse(): this;Reverses the elements in an Array.set(array: ArrayLikenumber>,offset?: number): void;Sets a value or an array of values.@param arrayA typed or untyped array of values to set.@param offsetThe index in the current array at which the values are to be written.setFromBase64(base64: string,offset?: number): { read: number; written: number };Set the contents of the Uint8Array from a base64 encoded string@param base64The base64 encoded string to decode into the array@param offsetOptional starting index to begin setting the decoded bytes (default: 0)setFromHex(hex: string): { read: number; written: number };Set the contents of the Uint8Array from a hex encoded string@param hexThe hex encoded string to decode into the array. The string must have an even number of characters, be valid hexadecimal characters and contain no whitespace.slice(start?: number,end?: number): Uint8ArrayArrayBuffer>;Returns a section of an array.@param startThe beginning of the specified portion of the array.@param endThe end of the specified portion of the array. This is exclusive of the element at the index 'end'.some(predicate: (value: number, index: number, array: this) => unknown,thisArg?: any): boolean;Determines whether the specified callback function returns true for any element of an array.@param predicateA function that accepts up to three arguments. The some method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value true, or until the end of the array.@param thisArgAn object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.sort(compareFn?: (a: number, b: number) => number): this;Sorts an array.@param compareFnFunction used to determine the order of the elements. It is expected to return a negative value if first argument is less than second argument, zero if they're equal and a positive value otherwise. If omitted, the elements are sorted in ascending order.[11,2,22,1].sort((a, b) => a - b) subarray(begin?: number,end?: number): Uint8ArrayTArrayBuffer>;Gets a new Uint8Array view of the ArrayBuffer store for this array, referencing the elements at begin, inclusive, up to end, exclusive.@param beginThe index of the beginning of the array.@param endThe index of the end of the array.toBase64(options?: { alphabet: 'base64' | 'base64url'; omitPadding: boolean }): string;Convert the Uint8Array to a base64 encoded string@returnsThe base64 encoded string representation of the Uint8ArraytoHex(): string;Convert the Uint8Array to a hex encoded string@returnsThe hex encoded string representation of the Uint8ArraytoLocaleString(): string;Converts a number to a string by using the current locale.toLocaleString(locales: string | string[],options?: NumberFormatOptions): string;toReversed(): Uint8ArrayArrayBuffer>;Copies the array and returns the copy with the elements in reverse order.toSorted(compareFn?: (a: number, b: number) => number): Uint8ArrayArrayBuffer>;Copies and sorts the array.@param compareFnFunction used to determine the order of the elements. It is expected to return a negative value if the first argument is less than the second argument, zero if they're equal, and a positive value otherwise. If omitted, the elements are sorted in ascending order.const myNums = Uint8Array.from([11, 2, 22, 1]); myNums.toSorted((a, b) => a - b) // Uint8Array(4) [1, 2, 11, 22] toString(): string;Returns a string representation of an array.valueOf(): this;Returns the primitive value of the specified object.values(): ArrayIteratornumber>;Returns an list of values in the arraywith(index: number,value: number): Uint8ArrayArrayBuffer>;Copies the array and inserts the given number at the provided index.@param indexThe index of the value to overwrite. If the index is negative, then it replaces from the end of the array.@param valueThe value to insert into the copied array.@returnsA copy of the original array with the inserted value.class ArrayBufferRepresents a raw buffer of binary data, which is used to store data for the different typed arrays. ArrayBuffers cannot be read from or written to directly, but can be passed to a typed array or DataView Object to interpret the raw buffer as needed.readonly [Symbol.toStringTag]: stringreadonly byteLength: numberRead-only. The length of the ArrayBuffer (in bytes).resize(newByteLength?: number): void;Resizes the ArrayBuffer to the specified size (in bytes).MDNresize(byteLength: number): ArrayBuffer;Resize an ArrayBuffer in-place.slice(begin: number,end?: number): ArrayBuffer;Returns a section of an ArrayBuffer.transfer(newByteLength?: number): ArrayBuffer;Creates a new ArrayBuffer with the same byte content as this buffer, then detaches this buffer.MDNtransferToFixedLength(newByteLength?: number): ArrayBuffer;Creates a new non-resizable ArrayBuffer with the same byte content as this buffer, then detaches this buffer.MDNResources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San FranciscoWe're hiring →智能索引记录
-
2026-02-27 15:22:48
综合导航
成功
标题:Just put my rims on...
简介:Hey guys i just put rims on my 2, wondering what you guys th
-
2026-02-27 13:18:25
健康养生
成功
标题:云大夫 - 大健康,大未来
简介:云大夫是以“服务高端医生、生产权威医疗IP、构建精准医患连接”为定位,致力于通过互联网技术推动医生共享、知识共享、服务共
-
2026-02-27 16:57:20
综合导航
成功
标题:UFABET: Revolutionizing Online Gaming_UFABET
简介:Title:UFABET:RevolutionizingOnlineGamingIntroductionIntherap
-
2026-02-27 19:05:53
综合导航
成功
标题:(经典)一年级作文
简介:在平平淡淡的日常中,许多人都有过写作文的经历,对作文都不陌生吧,作文根据写作时限的不同可以分为限时作文和非限时作文。相信
-
2026-02-27 15:40:20
综合导航
成功
标题:Semiconductor & System Solutions Infineon Technologies
简介:Infineon Semiconductor & System Solutions - MCUs, sensors, a
-
2026-02-27 20:30:25
综合导航
成功
标题:NVE Spintronic GMR TMR Magnetic Sensors and Isolators
简介:NVE is a leader in spintronics, a nanotechnology. NVE licens
-
2026-02-27 13:19:53
综合导航
成功
标题:小学生作文-小学生作文大全_作文网
简介:作文网,阅读丰富的小学作文、您也可以写下自己的小学作文。作文网汇集丰富经典的小学作文,喜欢写作文的朋友们,欢迎您加入作文
-
2026-02-27 19:10:22
综合导航
成功
标题:Test and Measurement Equipment Tektronix
简介:Tektronix has over 70 years of experience designing Test and
-
2026-02-27 21:00:00
数码科技
成功
标题:河北省建设局材料备案网站asp能不能作为网页开发语言-北京孤凡电子商务有限公司
简介:河北省建设局材料备案网站,asp能不能作为网页开发语言,搜狗站长平台主动提交,建筑行业做网站YOLO系列全盘点#xff1
-
2026-02-27 22:00:29
综合导航
成功
标题:2003 - top leaks. Covered under Certified Program?
简介:Thanks.. First post. Bot MR2 last month at Acton Toyot
-
2026-02-27 18:36:42
综合导航
成功
标题:Furosemide Administration Affects Mineral Excretion in Exercised Thoroughbreds - Kentucky Equine Research
简介:A single dose of furosemide negatively affected calcium bala
-
2026-02-27 14:02:13
综合导航
成功
标题:New State Of Play Could Happen In February, Hints Leaker Who Correctly Predicted Switch 2 Reveal Date - PlayStation Universe
简介:Sony could host a State Of Play in February 2025, according
-
2026-02-27 17:46:10
综合导航
成功
标题:Vlinder Anime Doll Creator - Best Unblocked Game
简介:Vlinder Anime Doll Creator is a casual game to dress up doll
-
2026-02-27 19:48:14
美食菜谱
成功
标题:新农村自建房别墅图纸,三层房屋首层车库设计_07_四层农村房屋图纸
简介:全套A3设计图+高清效果图,拿到即可施工。占地尺寸:面宽10.3米* 进深:11.7米首层建筑面积:129平米建筑总面积
-
2026-02-27 16:58:02
综合导航
成功
标题:JS Global Capital yet again recognized by CFA and wins two awards JSCLJSCL
简介:JS Global Capital Limited, Pakistan’s Premier and the Larges
-
2026-02-27 18:03:33
综合导航
成功
标题:Plaintiff May Have to Pay Opposing Legal Fees in Defamation Case Under State's Anti-SLAPP Law Law.com
简介:One of the first plaintiffs to be on the hook for his oppone
-
2026-02-27 15:16:33
综合导航
成功
标题:FS 10Gbase-T Switch: Breaks the Price Barrier for 10G Network
简介:10GB copper switch, with huge price reduction of fiber 10 Gi
-
2026-02-27 16:35:12
游戏娱乐
成功
标题:游戏图片_纵览出彩的游戏世界_3DM图片
简介:游戏世界给我们带来了一幅又一幅精彩的画面,3DM游戏图片频道将这些出彩的画面进行收集整理,让每一位来3DM的玩家都能够找
-
2026-02-27 18:28:13
综合导航
成功
标题:A closer look at the countries that have ratified the UPC
简介:Considering that the UK now has ratified the UPC agreement,
-
2026-02-27 15:54:37
综合导航
成功
标题:Toyota MR2 Message Board
简介:Toyota MR2 Message Board and Forum for Toyota MR2 Owners and
-
2026-02-27 20:59:48
教育培训
成功
标题:电解液项目投资计划书 (2) - 豆丁网
简介:豆丁网是面向全球的中文社会化阅读分享平台,拥有商业,教育,研究报告,行业资料,学术论文,认证考试,星座,心理学等数亿实用
-
2026-02-27 18:25:06
综合导航
成功
标题:iOS 17: release date, features, compatible devices and more T3
简介:iOS 17 is the next iteration of Apple
-
2026-02-27 19:59:47
综合导航
成功
标题:Enfants à risques, enfants à promesses – Pour un autre regard sur l’éducation – Excelsis
简介:Et si vous étiez vous-même l’adulte qui aidera l’un(e) d’ent
-
2026-02-27 18:53:48
综合导航
成功
标题:我爱吃芒果作文
简介:在我们平凡的日常里,许多人都写过作文吧,作文是人们以书面形式表情达意的言语活动。那要怎么写好作文呢?以下是小编整理的我爱
-
2026-02-27 16:33:56
综合导航
成功
标题:Semiconductor & System Solutions Infineon Technologies
简介:Infineon Semiconductor & System Solutions - MCUs, sensors, a
-
2026-02-27 22:02:54
综合导航
成功
标题:MKII Carbon Fiber T-Tops GB [Archive] - Toyota MR2 Message Board
简介:GROUP BUY HAS ENDED!!! I
-
2026-02-27 13:23:48
综合导航
成功
标题:PAM solutions, Key Management Systems, Secure File Transfers SSH
简介:SSH is a defensive cybersecurity company offering software s
-
2026-02-27 13:26:39
综合导航
成功
标题:18luck新利官网利app-你玩乐的的好帮手
简介:18luck新利官网专注于为玩家打造无忧的游戏环境。其官方应用程序以简洁流畅的设计、便捷的操作体验和丰富的游戏内容,成为
-
2026-02-27 14:41:48
电商商城
成功
标题:条纹裤子女红色价格报价行情 - 京东
简介:京东是国内专业的条纹裤子女红色网上购物商城,本频道提供条纹裤子女红色价格表,条纹裤子女红色报价行情、条纹裤子女红色多少钱
-
2026-02-27 22:42:42
新闻资讯
成功
标题:如何使用 Hadoop 构建大规模数据产品?, 站长资讯平台
简介:什么是数据科学家?Josh Wills 经常被引用的推文 给我们提供了以下定义: 数据科学家(名词):指比所有软件工程师