blob: 82d28478361af383e428a8a4197fd6b1bbfcaef0 (
plain) (
tree)
|
|
package scala.scalajs.js.typedarray
import scala.scalajs.js
class Uint16Array private extends TypedArray[Int, Uint16Array] {
/** Constructs a Uint16Array with the given length. Initialized to all 0 */
def this(length: Int) = this()
/** Creates a new Uint16Array with the same elements than the given TypedArray
*
* The elements are converted before being stored in the new Int8Array.
*/
def this(typedArray: TypedArray[_, _]) = this()
/** Creates a new Uint16Array with the elements in the given array */
def this(array: js.Array[_]) = this()
/** Creates a Uint16Array view on the given ArrayBuffer */
def this(buffer: ArrayBuffer, byteOffset: Int = 0, length: Int = ???) = this()
}
object Uint16Array extends TypedArrayStatic
|