public class NativeImpl extends TypedArrays.Impl
This can be replaced with a version which avoids runtime checks where possible for efficiency.
Constructor and Description |
---|
NativeImpl() |
getElementCount, mightBeSupported
public ArrayBuffer createArrayBuffer(int length)
createArrayBuffer
in class TypedArrays.Impl
public DataView createDataView(ArrayBuffer buffer)
createDataView
in class TypedArrays.Impl
public DataView createDataView(ArrayBuffer buffer, int byteOffset)
createDataView
in class TypedArrays.Impl
public DataView createDataView(ArrayBuffer buffer, int byteOffset, int byteLength)
createDataView
in class TypedArrays.Impl
public Float32ArrayNative createFloat32Array(ArrayBuffer buffer)
createFloat32Array
in class TypedArrays.Impl
public Float32ArrayNative createFloat32Array(ArrayBuffer buffer, int byteOffset)
createFloat32Array
in class TypedArrays.Impl
public Float32ArrayNative createFloat32Array(ArrayBuffer buffer, int byteOffset, int length)
createFloat32Array
in class TypedArrays.Impl
public Float32ArrayNative createFloat32Array(float[] array)
createFloat32Array
in class TypedArrays.Impl
public Float32ArrayNative createFloat32Array(int length)
createFloat32Array
in class TypedArrays.Impl
public Float64ArrayNative createFloat64Array(ArrayBuffer buffer)
createFloat64Array
in class TypedArrays.Impl
public Float64ArrayNative createFloat64Array(ArrayBuffer buffer, int byteOffset)
createFloat64Array
in class TypedArrays.Impl
public Float64ArrayNative createFloat64Array(ArrayBuffer buffer, int byteOffset, int length)
createFloat64Array
in class TypedArrays.Impl
public Float64ArrayNative createFloat64Array(double[] array)
createFloat64Array
in class TypedArrays.Impl
public Float64ArrayNative createFloat64Array(int length)
createFloat64Array
in class TypedArrays.Impl
public Int16ArrayNative createInt16Array(ArrayBuffer buffer)
createInt16Array
in class TypedArrays.Impl
public Int16ArrayNative createInt16Array(ArrayBuffer buffer, int byteOffset)
createInt16Array
in class TypedArrays.Impl
public Int16ArrayNative createInt16Array(ArrayBuffer buffer, int byteOffset, int length)
createInt16Array
in class TypedArrays.Impl
public Int16ArrayNative createInt16Array(int length)
createInt16Array
in class TypedArrays.Impl
public Int16ArrayNative createInt16Array(short[] array)
createInt16Array
in class TypedArrays.Impl
public Int32ArrayNative createInt32Array(ArrayBuffer buffer)
createInt32Array
in class TypedArrays.Impl
public Int32ArrayNative createInt32Array(ArrayBuffer buffer, int byteOffset)
createInt32Array
in class TypedArrays.Impl
public Int32ArrayNative createInt32Array(ArrayBuffer buffer, int byteOffset, int length)
createInt32Array
in class TypedArrays.Impl
public Int32ArrayNative createInt32Array(int length)
createInt32Array
in class TypedArrays.Impl
public Int32ArrayNative createInt32Array(int[] array)
createInt32Array
in class TypedArrays.Impl
public Int8ArrayNative createInt8Array(ArrayBuffer buffer)
createInt8Array
in class TypedArrays.Impl
public Int8ArrayNative createInt8Array(ArrayBuffer buffer, int byteOffset)
createInt8Array
in class TypedArrays.Impl
public Int8ArrayNative createInt8Array(ArrayBuffer buffer, int byteOffset, int length)
createInt8Array
in class TypedArrays.Impl
public Int8ArrayNative createInt8Array(byte[] array)
createInt8Array
in class TypedArrays.Impl
public Int8ArrayNative createInt8Array(int length)
createInt8Array
in class TypedArrays.Impl
public Uint16ArrayNative createUint16Array(ArrayBuffer buffer)
createUint16Array
in class TypedArrays.Impl
public Uint16ArrayNative createUint16Array(ArrayBuffer buffer, int byteOffset)
createUint16Array
in class TypedArrays.Impl
public Uint16ArrayNative createUint16Array(ArrayBuffer buffer, int byteOffset, int length)
createUint16Array
in class TypedArrays.Impl
public Uint16ArrayNative createUint16Array(int length)
createUint16Array
in class TypedArrays.Impl
public Uint16ArrayNative createUint16Array(int[] array)
createUint16Array
in class TypedArrays.Impl
public Uint32ArrayNative createUint32Array(ArrayBuffer buffer)
createUint32Array
in class TypedArrays.Impl
public Uint32ArrayNative createUint32Array(ArrayBuffer buffer, int byteOffset)
createUint32Array
in class TypedArrays.Impl
public Uint32ArrayNative createUint32Array(ArrayBuffer buffer, int byteOffset, int length)
createUint32Array
in class TypedArrays.Impl
public Uint32ArrayNative createUint32Array(double[] array)
createUint32Array
in class TypedArrays.Impl
public Uint32ArrayNative createUint32Array(int length)
createUint32Array
in class TypedArrays.Impl
public Uint32ArrayNative createUint32Array(long[] array)
createUint32Array
in class TypedArrays.Impl
public Uint8ArrayNative createUint8Array(ArrayBuffer buffer)
createUint8Array
in class TypedArrays.Impl
public Uint8ArrayNative createUint8Array(ArrayBuffer buffer, int byteOffset)
createUint8Array
in class TypedArrays.Impl
public Uint8ArrayNative createUint8Array(ArrayBuffer buffer, int byteOffset, int length)
createUint8Array
in class TypedArrays.Impl
public Uint8ArrayNative createUint8Array(int length)
createUint8Array
in class TypedArrays.Impl
public Uint8ArrayNative createUint8Array(short[] array)
createUint8Array
in class TypedArrays.Impl
public Uint8ClampedArray createUint8ClampedArray(ArrayBuffer buffer)
createUint8ClampedArray
in class TypedArrays.Impl
public Uint8ClampedArray createUint8ClampedArray(ArrayBuffer buffer, int byteOffset)
createUint8ClampedArray
in class TypedArrays.Impl
public Uint8ClampedArray createUint8ClampedArray(ArrayBuffer buffer, int byteOffset, int length)
createUint8ClampedArray
in class TypedArrays.Impl
public Uint8ClampedArray createUint8ClampedArray(int length)
createUint8ClampedArray
in class TypedArrays.Impl
public Uint8ClampedArray createUint8ClampedArray(short[] array)
createUint8ClampedArray
in class TypedArrays.Impl
protected boolean checkDataViewSupport()
protected boolean checkUint8ClampedArraySupport()
protected boolean runtimeSupportCheck()
TypedArrays.Impl
createXXX
methods.runtimeSupportCheck
in class TypedArrays.Impl
Copyright © 2016. All rights reserved.