scala.scalajs.js

typedarray

package typedarray

The typdearray package provides facade types for JavaScript ArrayBuffer, TypeArrays and DataView. Further, it provides conversions between primitive Scala arrays and TypedArrays

Linear Supertypes
AnyRef, scala.Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. typedarray
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. implicit final class AB2TA extends AnyVal

  2. implicit final class AC2TA extends AnyVal

  3. implicit final class AD2TA extends AnyVal

  4. implicit final class AF2TA extends AnyVal

  5. implicit final class AI2TA extends AnyVal

  6. implicit final class AS2TA extends AnyVal

  7. class ArrayBuffer extends Object

    Annotations
    @RawJSType()
  8. class ArrayBufferInputStream extends InputStream

    A java.io.InputStream wrapping a JavaScript ArrayBuffer

    A java.io.InputStream wrapping a JavaScript ArrayBuffer

    This class is extremely similar to a ByteArrayInputStream, but uses ArrayBuffers as the underlying representation. Stream implementations may special case on this stream for better performance and access the underlying buffer directly. (They still need to make sure the internal pointers are properly aligned though).

  9. trait ArrayBufferView extends Object

    Annotations
    @RawJSType()
  10. class DataView extends Object with ArrayBufferView

    Annotations
    @RawJSType()
  11. class Float32Array extends Object with TypedArray[Float, Float32Array]

    Annotations
    @RawJSType()
  12. class Float64Array extends Object with TypedArray[Double, Float64Array]

    Annotations
    @RawJSType()
  13. class Int16Array extends Object with TypedArray[Short, Int16Array]

    Annotations
    @RawJSType()
  14. class Int32Array extends Object with TypedArray[Int, Int32Array]

    Annotations
    @RawJSType()
  15. class Int8Array extends Object with TypedArray[Byte, Int8Array]

    Annotations
    @RawJSType()
  16. implicit final class TA2AB extends AnyVal

  17. implicit final class TA2AC extends AnyVal

  18. implicit final class TA2AD extends AnyVal

  19. implicit final class TA2AF extends AnyVal

  20. implicit final class TA2AI extends AnyVal

  21. implicit final class TA2AS extends AnyVal

  22. trait TypedArray[T, Repr] extends Object with ArrayBufferView

    Annotations
    @RawJSType()
  23. trait TypedArrayStatic extends Object

    Annotations
    @RawJSType()
  24. class Uint16Array extends Object with TypedArray[Int, Uint16Array]

    Annotations
    @RawJSType()
  25. class Uint32Array extends Object with TypedArray[Double, Uint32Array]

    Annotations
    @RawJSType()
  26. class Uint8Array extends Object with TypedArray[Short, Uint8Array]

    Annotations
    @RawJSType()
  27. class Uint8ClampedArray extends Object with TypedArray[Int, Uint8ClampedArray]

    Annotations
    @RawJSType()

Value Members

  1. object Float32Array extends Object with TypedArrayStatic

  2. object Float64Array extends Object with TypedArrayStatic

  3. object Int16Array extends Object with TypedArrayStatic

  4. object Int32Array extends Object with TypedArrayStatic

  5. object Int8Array extends Object with TypedArrayStatic

  6. object Uint16Array extends Object with TypedArrayStatic

  7. object Uint32Array extends Object with TypedArrayStatic

  8. object Uint8Array extends Object with TypedArrayStatic

  9. object Uint8ClampedArray extends Object with TypedArrayStatic

  10. def byteArray2Int8Array(array: scala.Array[Byte]): Int8Array

  11. def charArray2Uint16Array(array: scala.Array[Char]): Uint16Array

  12. def doubleArray2Float64Array(array: scala.Array[Double]): Float64Array

  13. def float32Array2FloatArray(array: Float32Array): scala.Array[Float]

  14. def float64Array2DoubleArray(array: Float64Array): scala.Array[Double]

  15. def floatArray2Float32Array(array: scala.Array[Float]): Float32Array

  16. def int16Array2ShortArray(array: Int16Array): scala.Array[Short]

  17. def int32Array2IntArray(array: Int32Array): scala.Array[Int]

  18. def int8Array2ByteArray(array: Int8Array): scala.Array[Byte]

  19. def intArray2Int32Array(array: scala.Array[Int]): Int32Array

  20. def shortArray2Int16Array(array: scala.Array[Short]): Int16Array

  21. def uint16Array2CharArray(array: Uint16Array): scala.Array[Char]

Inherited from AnyRef

Inherited from scala.Any

Ungrouped