diff options
Diffstat (limited to 'examples/scala-js/library/src/main/scala/scala/scalajs/js/typedarray/Uint8Array.scala')
-rw-r--r-- | examples/scala-js/library/src/main/scala/scala/scalajs/js/typedarray/Uint8Array.scala | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/examples/scala-js/library/src/main/scala/scala/scalajs/js/typedarray/Uint8Array.scala b/examples/scala-js/library/src/main/scala/scala/scalajs/js/typedarray/Uint8Array.scala deleted file mode 100644 index f54904c..0000000 --- a/examples/scala-js/library/src/main/scala/scala/scalajs/js/typedarray/Uint8Array.scala +++ /dev/null @@ -1,24 +0,0 @@ -package scala.scalajs.js.typedarray - -import scala.scalajs.js - -class Uint8Array private extends TypedArray[Short, Uint8Array] { - - /** Constructs a Uint8Array with the given length. Initialized to all 0 */ - def this(length: Int) = this() - - /** Creates a new Uint8Array 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 Uint8Array with the elements in the given array */ - def this(array: js.Array[_]) = this() - - /** Creates a Uint8Array view on the given ArrayBuffer */ - def this(buffer: ArrayBuffer, byteOffset: Int = 0, length: Int = ???) = this() - -} - -object Uint8Array extends TypedArrayStatic |