package typedarray
ECMAScript 6 The typdearray package provides facade types for JavaScript ArrayBuffer, TypeArrays and DataView. Further, it provides conversions between primitive Scala arrays and TypedArrays
- Alphabetic
- By Inheritance
- typedarray
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
implicit final
class
AB2TA extends AnyVal
ECMAScript 6 Adds
toTypedArray
conversion to anArray[Byte]
-
implicit final
class
AC2TA extends AnyVal
ECMAScript 6 Adds
toTypedArray
conversion to anArray[Char]
-
implicit final
class
AD2TA extends AnyVal
ECMAScript 6 Adds
toTypedArray
conversion to anArray[Double]
-
implicit final
class
AF2TA extends AnyVal
ECMAScript 6 Adds
toTypedArray
conversion to anArray[Float]
-
implicit final
class
AI2TA extends AnyVal
ECMAScript 6 Adds
toTypedArray
conversion to anArray[Int]
-
implicit final
class
AS2TA extends AnyVal
ECMAScript 6 Adds
toTypedArray
conversion to anArray[Short]
-
class
ArrayBuffer extends Object
ECMAScript 6 An ArrayBuffer is a block of contiguous, non-resizable memory.
-
trait
ArrayBufferView extends Object
ECMAScript 6 An ArrayBufferView allows accessing the data of an ArrayBuffer
ECMAScript 6 An ArrayBufferView allows accessing the data of an ArrayBuffer
- Annotations
- @JSType() @native()
-
class
BigInt64Array extends Object with TypedArray[BigInt, BigInt64Array]
ECMAScript 2020
ECMAScript 2020
A TypedArray of signed 64-bit integers represented as js.BigInt.
-
class
BigUint64Array extends Object with TypedArray[BigInt, BigUint64Array]
ECMAScript 2020
ECMAScript 2020
A TypedArray of unsigned 64-bit integers represented as js.BigInt.
-
class
DataView extends Object with ArrayBufferView
ECMAScript 6 A DataView allows for extraction of particular data types at specific offsets.
-
class
Float32Array extends Object with TypedArray[Float, Float32Array]
ECMAScript 6 A TypedArray of single precision floats
ECMAScript 6 A TypedArray of single precision floats
-
class
Float64Array extends Object with TypedArray[Double, Float64Array]
ECMAScript 6 A TypedArray of double precision floats
ECMAScript 6 A TypedArray of double precision floats
-
class
Int16Array extends Object with TypedArray[Short, Int16Array]
ECMAScript 6 A TypedArray of signed 16-bit integers
ECMAScript 6 A TypedArray of signed 16-bit integers
-
class
Int32Array extends Object with TypedArray[Int, Int32Array]
ECMAScript 6 A TypedArray of signed 32-bit integers
ECMAScript 6 A TypedArray of signed 32-bit integers
-
class
Int8Array extends Object with TypedArray[Byte, Int8Array]
ECMAScript 6 A TypedArray of signed 8-bit integers
ECMAScript 6 A TypedArray of signed 8-bit integers
-
implicit final
class
TA2AB extends AnyVal
ECMAScript 6 Adds
toArray
conversion to a Int8Array -
implicit final
class
TA2AC extends AnyVal
ECMAScript 6 Adds
toArray
conversion to a Uint16Array -
implicit final
class
TA2AD extends AnyVal
ECMAScript 6 Adds
toArray
conversion to a Float64Array -
implicit final
class
TA2AF extends AnyVal
ECMAScript 6 Adds
toArray
conversion to a Float32Array -
implicit final
class
TA2AI extends AnyVal
ECMAScript 6 Adds
toArray
conversion to a Int32Array -
implicit final
class
TA2AS extends AnyVal
ECMAScript 6 Adds
toArray
conversion to a Int16Array -
trait
TypedArray[T, Repr] extends Object with ArrayBufferView with Iterable[T]
ECMAScript 6 A TypedArray allows to view an ArrayBuffer as an array of values of a particular numeric type.
ECMAScript 6 A TypedArray allows to view an ArrayBuffer as an array of values of a particular numeric type.
- Annotations
- @JSType() @native()
-
final
class
TypedArrayBufferOps[TypedArrayType <: TypedArray[_, TypedArrayType]] extends AnyVal
Additional operations on a Buffer with interoperability with JavaScript Typed Arrays.
-
trait
TypedArrayStatic[T, Repr] extends Object
ECMAScript 6 Static information that exists for any concrete TypedArray
ECMAScript 6 Static information that exists for any concrete TypedArray
- Annotations
- @JSType() @native()
-
class
Uint16Array extends Object with TypedArray[Int, Uint16Array]
ECMAScript 6 A TypedArray of unsigned 16-bit integers
ECMAScript 6 A TypedArray of unsigned 16-bit integers
-
class
Uint32Array extends Object with TypedArray[Double, Uint32Array]
ECMAScript 6 A TypedArray of unsigned 32-bit integers
ECMAScript 6 A TypedArray of unsigned 32-bit integers
-
class
Uint8Array extends Object with TypedArray[Short, Uint8Array]
ECMAScript 6 A TypedArray of unsigned 8-bit integers
ECMAScript 6 A TypedArray of unsigned 8-bit integers
-
class
Uint8ClampedArray extends Object with TypedArray[Int, Uint8ClampedArray]
ECMAScript 6 A TypedArray of unsigned 8-bit integers whose values are clamped to their max/min rather than wrapped around if they overflow.
ECMAScript 6 A TypedArray of unsigned 8-bit integers whose values are clamped to their max/min rather than wrapped around if they overflow.
Value Members
- def byteArray2Int8Array(array: scala.Array[Byte]): Int8Array
- def charArray2Uint16Array(array: scala.Array[Char]): Uint16Array
- def doubleArray2Float64Array(array: scala.Array[Double]): Float64Array
- def float32Array2FloatArray(array: Float32Array): scala.Array[Float]
- def float64Array2DoubleArray(array: Float64Array): scala.Array[Double]
- def floatArray2Float32Array(array: scala.Array[Float]): Float32Array
- def int16Array2ShortArray(array: Int16Array): scala.Array[Short]
- def int32Array2IntArray(array: Int32Array): scala.Array[Int]
- def int8Array2ByteArray(array: Int8Array): scala.Array[Byte]
- def intArray2Int32Array(array: scala.Array[Int]): Int32Array
- def shortArray2Int16Array(array: scala.Array[Short]): Int16Array
- def uint16Array2CharArray(array: Uint16Array): scala.Array[Char]
-
object
BigInt64Array extends Object with TypedArrayStatic[BigInt, BigInt64Array]
ECMAScript 2020 BigInt64Array companion
ECMAScript 2020 BigInt64Array companion
-
object
BigUint64Array extends Object with TypedArrayStatic[BigInt, BigUint64Array]
ECMAScript 2020 BigUint64Array companion
ECMAScript 2020 BigUint64Array companion
-
object
DataViewExt
Extensions for DataView.
-
object
Float32Array extends Object with TypedArrayStatic[Float, Float32Array]
ECMAScript 6 Float32Array companion
ECMAScript 6 Float32Array companion
-
object
Float64Array extends Object with TypedArrayStatic[Double, Float64Array]
ECMAScript 6 Float64Array companion
ECMAScript 6 Float64Array companion
-
object
Int16Array extends Object with TypedArrayStatic[Short, Int16Array]
ECMAScript 6 Int16Array companion
ECMAScript 6 Int16Array companion
-
object
Int32Array extends Object with TypedArrayStatic[Int, Int32Array]
ECMAScript 6 Int32Array companion
ECMAScript 6 Int32Array companion
-
object
Int8Array extends Object with TypedArrayStatic[Byte, Int8Array]
ECMAScript 6 Int8Array companion
-
object
TypedArrayBuffer
Factory methods to create direct buffers from Typed Arrays.
Factory methods to create direct buffers from Typed Arrays.
All buffers created by the methods of this object are direct buffers with the native byte order of the platform.
-
object
TypedArrayBufferOps
Extensions to Buffers for interoperability with JavaScript Typed Arrays.
-
object
Uint16Array extends Object with TypedArrayStatic[Int, Uint16Array]
ECMAScript 6 Uint16Array companion
ECMAScript 6 Uint16Array companion
-
object
Uint32Array extends Object with TypedArrayStatic[Double, Uint32Array]
ECMAScript 6 Uint32Array companion
ECMAScript 6 Uint32Array companion
-
object
Uint8Array extends Object with TypedArrayStatic[Short, Uint8Array]
ECMAScript 6 Uint8Array companion
ECMAScript 6 Uint8Array companion
-
object
Uint8ClampedArray extends Object with TypedArrayStatic[Int, Uint8ClampedArray]
ECMAScript 6 Uint8ClampedArray companion
ECMAScript 6 Uint8ClampedArray companion