Package elemental2.core
Class Uint8Array
- java.lang.Object
-
- elemental2.core.ArrayBufferView
-
- elemental2.core.TypedArray
-
- elemental2.core.Uint8Array
-
- All Implemented Interfaces:
JsIterable<java.lang.Double>
,jsinterop.base.JsArrayLike<java.lang.Double>
@JsType(isNative=true, namespace="<global>") public class Uint8Array extends TypedArray
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Uint8Array.ConstructorLengthUnionType
static interface
Uint8Array.FromMapFn
static interface
Uint8Array.FromSourceUnionType
-
Nested classes/interfaces inherited from class elemental2.core.TypedArray
TypedArray.EveryCallbackFn, TypedArray.FilterCallbackFn, TypedArray.FindCallbackFn, TypedArray.FindIndexCallbackFn, TypedArray.ForEachCallbackFn, TypedArray.MapCallbackFn, TypedArray.ReduceCallbackFn<INIT,RET>, TypedArray.ReduceRightCallbackFn<INIT,RET>, TypedArray.SetArrayUnionType, TypedArray.SomeCallbackFn, TypedArray.SortCompareFunctionFn
-
-
Field Summary
Fields Modifier and Type Field Description static int
BYTES_PER_ELEMENT
-
Fields inherited from class elemental2.core.TypedArray
length
-
Fields inherited from class elemental2.core.ArrayBufferView
buffer, byteLength, byteOffset
-
-
Constructor Summary
Constructors Constructor Description Uint8Array(double[] length)
Uint8Array(double[] length, int byteOffset)
Uint8Array(double[] length, int byteOffset, int length0)
Uint8Array(int length)
Uint8Array(int length, int byteOffset)
Uint8Array(int length, int byteOffset, int length0)
Uint8Array(ArrayBuffer length)
Uint8Array(ArrayBuffer length, int byteOffset)
Uint8Array(ArrayBuffer length, int byteOffset, int length0)
Uint8Array(ArrayBufferView length)
Uint8Array(ArrayBufferView length, int byteOffset)
Uint8Array(ArrayBufferView length, int byteOffset, int length0)
Uint8Array(JsArray<java.lang.Double> length)
Uint8Array(JsArray<java.lang.Double> length, int byteOffset)
Uint8Array(JsArray<java.lang.Double> length, int byteOffset, int length0)
Uint8Array(SharedArrayBuffer length)
Uint8Array(SharedArrayBuffer length, int byteOffset)
Uint8Array(SharedArrayBuffer length, int byteOffset, int length0)
Uint8Array(Uint8Array.ConstructorLengthUnionType length)
Uint8Array(Uint8Array.ConstructorLengthUnionType length, int byteOffset)
Uint8Array(Uint8Array.ConstructorLengthUnionType length, int byteOffset, int length0)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Uint8Array
from(double[] source)
static Uint8Array
from(double[] source, Uint8Array.FromMapFn mapFn)
static <S> Uint8Array
from(double[] source, Uint8Array.FromMapFn mapFn, S thisArg)
static Uint8Array
from(JsIterable<java.lang.Double> source)
static Uint8Array
from(JsIterable<java.lang.Double> source, Uint8Array.FromMapFn mapFn)
static <S> Uint8Array
from(JsIterable<java.lang.Double> source, Uint8Array.FromMapFn mapFn, S thisArg)
static Uint8Array
from(Uint8Array.FromSourceUnionType source)
static Uint8Array
from(Uint8Array.FromSourceUnionType source, Uint8Array.FromMapFn mapFn)
static <S> Uint8Array
from(Uint8Array.FromSourceUnionType source, Uint8Array.FromMapFn mapFn, S thisArg)
static Uint8Array
from(java.lang.String source)
static Uint8Array
from(java.lang.String source, Uint8Array.FromMapFn mapFn)
static <S> Uint8Array
from(java.lang.String source, Uint8Array.FromMapFn mapFn, S thisArg)
static Uint8Array
from(jsinterop.base.JsArrayLike<java.lang.Double> source)
static Uint8Array
from(jsinterop.base.JsArrayLike<java.lang.Double> source, Uint8Array.FromMapFn mapFn)
static <S> Uint8Array
from(jsinterop.base.JsArrayLike<java.lang.Double> source, Uint8Array.FromMapFn mapFn, S thisArg)
static Uint8Array
of(double... var_args)
-
Methods inherited from class elemental2.core.TypedArray
at, copyWithin, copyWithin, entries, every, every, fill, fill, fill, filter, filter, find, find, findIndex, findIndex, forEach, forEach, includes, includes, indexOf, indexOf, join, join, keys, lastIndexOf, lastIndexOf, map, map, reduce, reduce, reduceRight, reduceRight, reverse, set, set, set, set, set, set, set, set, slice, slice, slice, some, some, sort, sort, subarray, subarray, toLocaleString, toString_, values
-
-
-
-
Constructor Detail
-
Uint8Array
public Uint8Array(ArrayBuffer length, int byteOffset, int length0)
-
Uint8Array
public Uint8Array(ArrayBuffer length, int byteOffset)
-
Uint8Array
public Uint8Array(ArrayBuffer length)
-
Uint8Array
public Uint8Array(ArrayBufferView length, int byteOffset, int length0)
-
Uint8Array
public Uint8Array(ArrayBufferView length, int byteOffset)
-
Uint8Array
public Uint8Array(ArrayBufferView length)
-
Uint8Array
public Uint8Array(Uint8Array.ConstructorLengthUnionType length, int byteOffset, int length0)
-
Uint8Array
public Uint8Array(Uint8Array.ConstructorLengthUnionType length, int byteOffset)
-
Uint8Array
public Uint8Array(Uint8Array.ConstructorLengthUnionType length)
-
Uint8Array
public Uint8Array(JsArray<java.lang.Double> length, int byteOffset, int length0)
-
Uint8Array
public Uint8Array(JsArray<java.lang.Double> length, int byteOffset)
-
Uint8Array
public Uint8Array(JsArray<java.lang.Double> length)
-
Uint8Array
public Uint8Array(SharedArrayBuffer length, int byteOffset, int length0)
-
Uint8Array
public Uint8Array(SharedArrayBuffer length, int byteOffset)
-
Uint8Array
public Uint8Array(SharedArrayBuffer length)
-
Uint8Array
public Uint8Array(double[] length, int byteOffset, int length0)
-
Uint8Array
public Uint8Array(double[] length, int byteOffset)
-
Uint8Array
public Uint8Array(double[] length)
-
Uint8Array
public Uint8Array(int length, int byteOffset, int length0)
-
Uint8Array
public Uint8Array(int length, int byteOffset)
-
Uint8Array
public Uint8Array(int length)
-
-
Method Detail
-
from
public static <S> Uint8Array from(Uint8Array.FromSourceUnionType source, Uint8Array.FromMapFn mapFn, S thisArg)
-
from
public static Uint8Array from(Uint8Array.FromSourceUnionType source, Uint8Array.FromMapFn mapFn)
-
from
public static Uint8Array from(Uint8Array.FromSourceUnionType source)
-
from
@JsOverlay public static final <S> Uint8Array from(jsinterop.base.JsArrayLike<java.lang.Double> source, Uint8Array.FromMapFn mapFn, S thisArg)
-
from
@JsOverlay public static final Uint8Array from(jsinterop.base.JsArrayLike<java.lang.Double> source, Uint8Array.FromMapFn mapFn)
-
from
@JsOverlay public static final Uint8Array from(jsinterop.base.JsArrayLike<java.lang.Double> source)
-
from
@JsOverlay public static final <S> Uint8Array from(JsIterable<java.lang.Double> source, Uint8Array.FromMapFn mapFn, S thisArg)
-
from
@JsOverlay public static final Uint8Array from(JsIterable<java.lang.Double> source, Uint8Array.FromMapFn mapFn)
-
from
@JsOverlay public static final Uint8Array from(JsIterable<java.lang.Double> source)
-
from
@JsOverlay public static final <S> Uint8Array from(java.lang.String source, Uint8Array.FromMapFn mapFn, S thisArg)
-
from
@JsOverlay public static final Uint8Array from(java.lang.String source, Uint8Array.FromMapFn mapFn)
-
from
@JsOverlay public static final Uint8Array from(java.lang.String source)
-
from
@JsOverlay public static final <S> Uint8Array from(double[] source, Uint8Array.FromMapFn mapFn, S thisArg)
-
from
@JsOverlay public static final Uint8Array from(double[] source, Uint8Array.FromMapFn mapFn)
-
from
@JsOverlay public static final Uint8Array from(double[] source)
-
of
public static Uint8Array of(double... var_args)
-
-