The size in bytes of each element in the array.
interface
Uint8ArrayConstructor
interface Uint8ArrayConstructor
- buffer: TArrayBuffer,byteOffset?: number,length?: numberconstructor Uint8ArrayConstructor(byteOffset?: number,length?: number
- @param arrayLike
An array-like object to convert to an array.
arrayLike: ArrayLike<T>,mapfn: (v: T, k: number) => number,thisArg?: anyCreates an array from an array-like or iterable object.
@param arrayLikeAn array-like object to convert to an array.
@param mapfnA mapping function to call on every element of the array.
@param thisArgValue of 'this' used to invoke the mapfn.
@param elementsAn iterable object to convert to an array.
elements: Iterable<T>,mapfn?: (v: T, k: number) => number,thisArg?: anyCreates an array from an array-like or iterable object.
@param elementsAn iterable object to convert to an array.
@param mapfnA mapping function to call on every element of the array.
@param thisArgValue of 'this' used to invoke the mapfn.
- base64: string,options?: { alphabet: 'base64' | 'base64url'; lastChunkHandling: 'strict' | 'loose' | 'stop-before-partial' }
Create a new Uint8Array from a base64 encoded string
@param base64The base64 encoded string to convert to a Uint8Array
@param optionsOptional options for decoding the base64 string
@returnsA new Uint8Array containing the decoded data
- @param hex
The hex encoded string to convert to a Uint8Array
@returnsA new Uint8Array containing the decoded data
- @param items
A set of elements to include in the new array object.