Search the reference...
/
BuildDocsReferenceGuidesBlogDiscord/node:buffer/Buffer/toReversedMtoReversedmethod
buffer.Buffer.toReversedtoReversed(): Uint8ArrayArrayBuffer>;Copies the array and returns the copy with the elements in reverse order.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-03-02 13:17:41
综合导航
成功
标题:Data Revealed: How Much Money Can MEV Bot Make from CEX-DEX Arbitrage? Bee Network
简介:This article comes from: Flashbots data analyst danning Com
-
2026-03-03 03:08:08
综合导航
成功
标题:驱动人生最新消息:Windows 11将定位为下一代Windows?-驱动人生
简介:驱动人生了解到,微软定于 6 月 24 日在新的 Windows 应用程序商店旁边宣布其新操作系统“Windows 11
-
2026-03-02 17:08:44
综合导航
成功
标题:OST2 News and Updates
简介:OST2 News and Updates. 4Team Corporation all product news.
-
2026-03-02 22:20:18
综合导航
成功
标题:é¼¯é¼ªçæ¼é³_é¼¯é¼ªçææ_鼯鼪çç¹ä½_è¯ç»ç½
简介:è¯ç»ç½é¼¯é¼ªé¢é,ä»ç»é¼¯é¼ª,é¼¯é¼ªçæ¼é³,鼯鼪æ¯
-
2026-03-02 22:23:18
综合导航
成功
标题:清新简洁微立体IOS风PPT模板-果果圈模板
简介:清新简洁微立体IOS风PPT模板
-
2026-03-02 10:41:52
综合导航
成功
标题:Uschi Haller Filmproduktion - Amateur Filmdreh in Hannover [Archiv] - BW7 Forum
简介:Am Freitag, den 16.05.2014 von 18.00 bis 21.00 Uhr drehen wi
-
2026-03-02 20:30:01
综合导航
成功
标题:è®½è®®çæ¼é³_è®½è®®çææ_讽议çç¹ä½_è¯ç»ç½
简介:è¯ç»ç½è®½è®®é¢é,ä»ç»è®½è®®,è®½è®®çæ¼é³,讽议æ¯
-
2026-03-03 03:17:34
综合导航
成功
标题:æç®çæ¼é³_æç®çææ_æç®çç¹ä½_è¯ç»ç½
简介:è¯ç»ç½æç®é¢é,ä»ç»æç®,æç®çæ¼é³,æç®æ¯
-
2026-03-02 09:49:34
综合导航
成功
标题:ETH vs SOL: Crypto War in 2025, Trillion Capital Bet on the New and Old OrderRecommended Articles Bee Network
简介:Author Ethan ( @ethanzhang_web3 ) “2021 is the year of
-
2026-03-02 13:34:12
综合导航
成功
标题:ISG job portal - Code of Conduct
简介:Code of Conduct. ISG Personalmanagement GmbH commits itself
-
2026-03-02 11:59:37
游戏娱乐
成功
标题:好听霸气的游戏名字男2020好听霸气的游戏名字男2020-免费起名_免费取名_宝宝起名_起名软件_名字测试打分解名(缇帕电子科技)-起点起名网
简介:好听霸气的游戏名字男2020. 为什么有那么多男生喜欢玩游戏呢?这个问题小编也不知道,小编只知道为大家搜集给大家。俄以为
-
2026-03-02 23:50:37
新闻资讯
成功
标题:暴雪肆虐美国7州紧急状态,纽约沦为孤城 天气情况 极端天气 新闻报道_网易视频
简介:暴雪肆虐美国7州紧急状态,纽约沦为孤城
-
2026-03-02 12:33:21
综合导航
成功
标题:Google executives convicted - 5RB Barristers
简介:Google executives convicted - News
-
2026-03-02 13:09:17
综合导航
成功
标题:(集合)《的春节》作文400字4篇
简介:在学习、工作乃至生活中,大家一定都接触过作文吧,作文是一种言语活动,具有高度的综合性和创造性。那么你知道一篇好的作文该怎
-
2026-03-02 11:44:49
游戏娱乐
成功
标题:绝地求生游戏名带霸气符号-免费起名_免费取名_宝宝起名_起名软件_名字测试打分解名(缇帕电子科技)-起点起名网
简介:绝地求生作为如今最火的策略射击生存游戏,受到不少关注,而2017最火爆的词汇就是“大吉大利、晚上吃鸡”,此词汇出身于这款
-
2026-03-02 12:09:34
教育培训
成功
标题:有关二年级六一的作文汇编7篇
简介:无论在学习、工作或是生活中,大家或多或少都会接触过作文吧,作文是从内部言语向外部言语的过渡,即从经过压缩的简要的、自己能
-
2026-03-02 10:02:21
教育培训
成功
标题:六年级作文优选[9篇]
简介:在现实生活或工作学习中,许多人都有过写作文的经历,对作文都不陌生吧,写作文可以锻炼我们的独处习惯,让自己的心静下来,思考
-
2026-03-02 10:39:47
综合导航
成功
标题:해뜨온 거산고구마
简介:고구마의 생산.저장.가공.유통분야의 선도 기업으로 고품격 상품을 안전하고 신선하게 공급하는 고구마 전문 기업
-
2026-03-02 17:40:02
综合导航
成功
标题:Super Baseball - Play The Free Mobile Game Online
简介:Super Baseball - click to play online. Super Baseball is a s
-
2026-03-02 10:38:35
综合导航
成功
标题:Tripoly - Play The Free Mobile Game Online
简介:Tripoly - click to play online. Tripoly is a type of excitin
-
2026-03-02 22:17:00
金融理财
成功
标题:蝌蚪理财(蝌蚪网络科技公司)_火必 Huobi交易所
简介:今天给各位分享蝌蚪理财的知识,其中也会对蝌蚪网络科技公司进行解释,如果能碰巧解决你现在面临的问题,别忘了关注本站,现在开
-
2026-03-02 12:46:44
综合导航
成功
标题:RT - Breaking News, Russia News, World News and Video
简介:RT is the first Russian 24/7 English-language news channel w
-
2026-03-02 22:22:56
综合导航
成功
标题:带着随身空间去原始吴下阿若最新章节_第0520章 震古烁今第1页_带着随身空间去原始吴下阿若免费章节_恋上你看书网
简介:第0520章 震古烁今第1页_带着随身空间去原始吴下阿若_投票推荐_恋上你看书网
-
2026-03-02 22:20:42
综合导航
成功
标题:æ¼è·¯çæ¼é³_æ¼è·¯çææ_æ¼è·¯çç¹ä½_è¯ç»ç½
简介:è¯ç»ç½æ¼è·¯é¢é,ä»ç»æ¼è·¯,æ¼è·¯çæ¼é³,æ¼è·¯æ¯
-
2026-03-03 00:00:02
综合导航
成功
标题:çæçæ¼é³_çæçææ_çæçç¹ä½_è¯ç»ç½
简介:è¯ç»ç½çæé¢é,ä»ç»çæ,çæçæ¼é³,çææ¯
-
2026-03-02 11:56:07
综合导航
成功
标题:Tea Time - Free Online Mobile Game on 4J.com
简介:Tea Time is a free online Mobile game on 4j.Com. You can fin
-
2026-03-02 13:04:16
图片素材
成功
标题:路灯 教师节 散文诗歌的作文700字 描写路灯 教师节 散文诗歌的作文 关于路灯 教师节 散文诗歌的作文-作文网
简介:作文网精选关于路灯 教师节 散文诗歌的700字作文,包含路灯 教师节 散文诗歌的作文素材,关于路灯 教师节 散文诗歌的作
-
2026-03-02 17:43:16
综合导航
成功
标题:Baxter Public Relations Executives & Employees List: Last Name Starting with Z - PR.com
简介:View Baxter Public Relations executives and employees in the
-
2026-03-02 13:08:20
综合导航
成功
标题:1x.com • In Pursuit of the Sublime
简介:1x.com is the world
-
2026-03-02 23:46:33
综合导航
成功
标题:沙石镇时光蜥蜴人的遗迹具体怎么去_蜥蜴人的遗迹进入方法_3DM单机
简介:《沙石镇时光》中蜥蜴遗迹玩家获取重要矿料的有效场所,当你在完成温室的主线任务后,然后修缆车去打了蜥蜴人boss,还需要将