From 7e638cbb7510f3f7fc239b47f54608bd6a39570b Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Thu, 22 Dec 2016 15:12:18 -0500 Subject: [PATCH] Add type for ArrayBufferView. --- src/typedarray.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/typedarray.rs b/src/typedarray.rs index 0add7dfb3..bf9a0f9e1 100644 --- a/src/typedarray.rs +++ b/src/typedarray.rs @@ -291,6 +291,8 @@ pub type Float32Array<'a> = TypedArray<'a, Float32>; pub type Float64Array<'a> = TypedArray<'a, Float64>; /// The ArrayBuffer type. pub type ArrayBuffer<'a> = TypedArray<'a, ArrayBufferU8>; +/// The ArrayBufferView type +pub type ArrayBufferView<'a> = TypedArray<'a, ArrayBufferViewU8>; #[macro_export] macro_rules! typedarray {