anchor.diff:    testWriteUint32ListAndView();
     testWriteInt64ListAndView();
     testWriteUint64ListAndView();
  -  testWriteByteData();
  -  testWriteFloat32ListAndView();
  -  testWriteFloat64ListAndView();
  -}
  +}
  
positive.code:         typed_data_content[i] = content[i];
        }
        Expect.listEquals(expected, new Uint64List.view(typed_data_content));
        temp.deleteSync(recursive: true);
        port.close();
      });
    });
  }
  
  
  void testWriteByteData() {
    ReceivePort port = new ReceivePort();
    var list = new ByteData(8);
    for (int i = 0; i < 8; i++) list.setUint8(i, i);
    var view = new ByteData.view(list.buffer, 2, 4);
  
    new Directory('').createTemp().then((temp) {
      var file = new File("${temp.path}/test");
      file.open(mode: FileMode.WRITE).then((raf) {
        return raf.writeList(list, 0, 8);
      }).then((raf) {
        return raf.writeList(view, 0, 4);
      }).then((raf) {
        return raf.close();
      }).then((_) {
        var expected = [];
        for (int i = 0; i < list.lengthInBytes; i++) {
          expected.add(list.getUint8(i));
        }
        for (int i = 0; i < view.lengthInBytes; i++) {
          expected.add(view.getUint8(i));
        }
        var content = file.readAsBytesSync();
        var typed_data_content = new Uint8List(content.length);
        for (int i = 0; i < content.length; i++) {
          typed_data_content[i] = content[i];
        }
        Expect.listEquals(expected, new Uint8List.view(typed_data_content));
        temp.deleteSync(recursive: true);
        port.close();
      });
    });
  }
  
  
  void testWriteFloat32ListAndView() {
    ReceivePort port = new ReceivePort();
    var list = new Float32List(8);
    for (int i = 0; i < 8; i++) list[i] = 1.1 * i;
    var view = new Float32List.view(list.buffer, 2, 4);
  
    new Directory('').createTemp().then((temp) {
      var file = new File("${temp.path}/test");
      file.open(mode: FileMode.WRITE).then((raf) {
        return raf.writeList(list, 0, 8);
      }).then((raf) {
        return raf.writeList(view, 0, 4);
      }).then((raf) {
        return raf.close();
      }).then((_) {
        var expected = [];
        expected.addAll(list);
        expected.addAll(view);
        var content = file.readAsBytesSync();
        var typed_data_content = new Uint8List(content.length);
        for (int i = 0; i < content.length; i++) {
          typed_data_content[i] = content[i];
        }
        Expect.listEquals(expected, new Float32List.view(typed_data_content));
        temp.deleteSync(recursive: true);
        port.close();
      });
    });
  }
  
  
  void testWriteFloat64ListAndView() {
    ReceivePort port = new ReceivePort();
    var list = new Float64List(8);
    for (int i = 0; i < 8; i++) list[i] = 1.1 * i;
    var view = new Float64List.view(list.buffer, 2, 4);
  
    new Directory('').createTemp().then((temp) {
      var file = new File("${temp.path}/test");
      file.open(mode: FileMode.WRITE).then((raf) {
        return raf.writeList(list, 0, 8);
      }).then((raf) {
        return raf.writeList(view, 0, 4);
      }).then((raf) {
        return raf.close();
      }).then((_) {
        var expected = [];
        expected.addAll(list);
        expected.addAll(view);
        var content = file.readAsBytesSync();
        var typed_data_content = new Uint8List(content.length);
        for (int i = 0; i < content.length; i++) {
          typed_data_content[i] = content[i];
        }
        Expect.listEquals(expected, new Float64List.view(typed_data_content));
        temp.deleteSync(recursive: true);
        port.close();
      });
  
negative.code: 
  void testWriteUint8ClampedListAndView() {
    ReceivePort port = new ReceivePort();
    Uint8ClampedList list = new Uint8ClampedList(8);
    for (int i = 0; i < 8; i++) list[i] = i;
    var view = new Uint8ClampedList.view(list.buffer, 2, 4);
  
  