method Uint8Array.map Private Uint8Array.map(callbackfn: (value: number,index: number,array: Uint8Array,) => number,thisArg?: any,): Uint8Array Calls a defined callback function on each element of an array, and returns an array that contains the results. Parameters callbackfn: (value: number,index: number,array: Uint8Array,) => number A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array. optional thisArg: any An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value. Return Type Uint8Array