Uint8Array API

Represents an array of 8-bit unsigned integers.

5 Total 3 Methods 2 Properties 5 Statics
  Show all

new Uint8Array(…)

Creates a new Uint8Array.Uint8Array.Uint8Array(length_or_buffer, [byteOffset, [length]])

Uint8Array.BYTES_PER_ELEMENT

The size in bytes of each element in the array. Fixed at 1.Uint8Array.BYTES_PER_ELEMENT

Uint8Array.from()

Creates a new Uint8Array from an array-like or iterable object.Uint8Array.from()

Uint8Array.of()

Creates a new Uint8Array with a variable number of arguments.Uint8Array.of()

Uint8Array.prototype

The prototype of the Uint8Array constructor.Uint8Array.prototype

new Uint8Array(…)

staticmethod

Creates a new Uint8Array. Uint8Array.Uint8Array(length_or_buffer, [byteOffset, [length]])

Arguments

length_or_buffer – The length of the array or an array or array buffer to use
byteOffset – The offset in bytes from the start of the buffer
length – The count of elements to include in the array

You seem to be offline. App may not work.