Class/Object

scala.scalajs.js.typedarray

Uint8Array

Related Docs: object Uint8Array | package typedarray

Permalink

class Uint8Array extends Object with TypedArray[Short, Uint8Array]

ECMAScript 6 A TypedArray of unsigned 8-bit integers

Annotations
@RawJSType() @native()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Uint8Array
  2. TypedArray
  3. ArrayBufferView
  4. Object
  5. Any
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Uint8Array(buffer: ArrayBuffer, byteOffset: Int = 0, length: Int = ???)

    Permalink

    Creates a Uint8Array view on the given ArrayBuffer

  2. new Uint8Array(array: Array[_])

    Permalink

    Creates a new Uint8Array with the elements in the given array

  3. new Uint8Array(typedArray: TypedArray[_, _])

    Permalink

    Creates a new Uint8Array with the same elements than the given TypedArray

    Creates a new Uint8Array with the same elements than the given TypedArray

    The elements are converted before being stored in the new Int8Array.

  4. new Uint8Array(length: Int)

    Permalink

    Constructs a Uint8Array with the given length.

    Constructs a Uint8Array with the given length. Initialized to all 0

Value Members

  1. final def !=(arg0: scala.Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Uint8Array to any2stringadd[Uint8Array] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Uint8Array, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Uint8Array to ArrowAssoc[Uint8Array] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: scala.Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def apply(index: Int): Short

    Permalink

    Retrieve element at index

    Retrieve element at index

    Definition Classes
    TypedArray
    Annotations
    @JSBracketAccess()
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. val buffer: ArrayBuffer

    Permalink

    The underlying buffer of this ArrayBufferView

    The underlying buffer of this ArrayBufferView

    Definition Classes
    ArrayBufferView
  9. val byteLength: Int

    Permalink

    The number of bytes of this ArrayBufferView

    The number of bytes of this ArrayBufferView

    Definition Classes
    ArrayBufferView
  10. val byteOffset: Int

    Permalink

    The offset of this ArrayBufferView in the underlying buffer

    The offset of this ArrayBufferView in the underlying buffer

    Definition Classes
    ArrayBufferView
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def ensuring(cond: (Uint8Array) ⇒ Boolean, msg: ⇒ scala.Any): Uint8Array

    Permalink
    Implicit information
    This member is added by an implicit conversion from Uint8Array to Ensuring[Uint8Array] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (Uint8Array) ⇒ Boolean): Uint8Array

    Permalink
    Implicit information
    This member is added by an implicit conversion from Uint8Array to Ensuring[Uint8Array] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ scala.Any): Uint8Array

    Permalink
    Implicit information
    This member is added by an implicit conversion from Uint8Array to Ensuring[Uint8Array] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): Uint8Array

    Permalink
    Implicit information
    This member is added by an implicit conversion from Uint8Array to Ensuring[Uint8Array] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: scala.Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Uint8Array to StringFormat[Uint8Array] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. def get(index: Int): Short

    Permalink

    Retrieve element at index

    Retrieve element at index

    Definition Classes
    TypedArray
    Annotations
    @JSBracketAccess()
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hasOwnProperty(v: String): Boolean

    Permalink

    Tests whether this object has the specified property as a direct property.

    Tests whether this object has the specified property as a direct property.

    Unlike js.Object.hasProperty, this method does not check down the object's prototype chain.

    MDN

    Definition Classes
    Object
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def isPrototypeOf(v: Object): Boolean

    Permalink

    Tests whether this object is in the prototype chain of another object.

    Tests whether this object is in the prototype chain of another object.

    Definition Classes
    Object
  26. val length: Int

    Permalink

    The number of elements in this TypedArray

    The number of elements in this TypedArray

    Definition Classes
    TypedArray
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. def propertyIsEnumerable(v: String): Boolean

    Permalink

    Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain.

    Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain. If the object does not have the specified property, this method returns false.

    MDN

    Definition Classes
    Object
  31. def set(array: Array[_], offset: Int): Unit

    Permalink

    Set the values from array in this TypedArray at given offset

    Set the values from array in this TypedArray at given offset

    Definition Classes
    TypedArray
  32. def set(array: Array[_]): Unit

    Permalink

    Set the values from array in this TypedArray

    Set the values from array in this TypedArray

    Definition Classes
    TypedArray
  33. def set(typedArray: TypedArray[_, _], offset: Int): Unit

    Permalink

    Set the values of typedArray in this TypedArray at given offset

    Set the values of typedArray in this TypedArray at given offset

    Definition Classes
    TypedArray
  34. def set(typedArray: TypedArray[_, _]): Unit

    Permalink

    Set the values of typedArray in this TypedArray

    Set the values of typedArray in this TypedArray

    Definition Classes
    TypedArray
  35. def set(index: Int, value: Short): Unit

    Permalink

    Set element at index

    Set element at index

    Definition Classes
    TypedArray
    Annotations
    @JSBracketAccess()
  36. def subarray(begin: Int, end: Int = ???): Uint8Array

    Permalink

    Create a new TypedArray view of this TypedArray at given location

    Create a new TypedArray view of this TypedArray at given location

    Definition Classes
    TypedArray
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  39. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  40. def update(index: Int, value: Short): Unit

    Permalink

    Set element at index

    Set element at index

    Definition Classes
    TypedArray
    Annotations
    @JSBracketAccess()
  41. def valueOf(): scala.Any

    Permalink
    Definition Classes
    Object
  42. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. def [B](y: B): (Uint8Array, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Uint8Array to ArrowAssoc[Uint8Array] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from TypedArray[Short, Uint8Array]

Inherited from ArrayBufferView

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from scala.Any

Inherited by implicit conversion any2stringadd from Uint8Array to any2stringadd[Uint8Array]

Inherited by implicit conversion StringFormat from Uint8Array to StringFormat[Uint8Array]

Inherited by implicit conversion Ensuring from Uint8Array to Ensuring[Uint8Array]

Inherited by implicit conversion ArrowAssoc from Uint8Array to ArrowAssoc[Uint8Array]

Ungrouped