public void ArrayBufferAndByteOffsetAndByteLengthConstructorWorks() {
			var b = new Uint8Array(new byte[] { 2, 3, 5, 7, 2, 0 }).Buffer;
			var view = new DataView(b, 1, 3);
			Assert.IsTrue((object)view is DataView, "Should be DataView");
			Assert.AreEqual(view.GetInt8(1), 5, "StartIndex should be correct");
			Assert.Throws(() => view.GetInt8(4), "Length should be correct");
		}
		public void ArrayBufferAndByteOffsetConstructorWorks() {
			var b = new Uint8Array(new byte[] { 2, 3, 5 }).Buffer;
			var view = new DataView(b, 1);
			Assert.IsTrue((object)view is DataView, "Should be DataView");
			Assert.AreEqual(view.GetInt8(1), 5, "StartIndex should be correct");
		}
		private void SetTest(Action<DataView> populator, byte[] expected) {
			var b = new ArrayBuffer(expected.Length);
			var v = new DataView(b);
			populator(v);
			var actual = new List<byte>();
			foreach (var x in new Uint8Array(b))
				actual.Add(x);

			Assert.AreEqual(actual, expected);
		}