Index: sdk/lib/io/file_impl.dart |
=================================================================== |
--- sdk/lib/io/file_impl.dart (revision 24619) |
+++ sdk/lib/io/file_impl.dart (working copy) |
@@ -783,7 +783,7 @@ |
_BufferAndStart result; |
try { |
- result = _ensureFastAndSerializableData(buffer, start, end); |
+ result = _ensureFastAndSerializableByteData(buffer, start, end); |
} catch (e) { |
return new Future.error(e); |
} |
@@ -816,7 +816,7 @@ |
if (end == start) return; |
_checkReadWriteListArguments(buffer.length, start, end); |
_BufferAndStart bufferAndStart = |
- _ensureFastAndSerializableData(buffer, start, end); |
+ _ensureFastAndSerializableByteData(buffer, start, end); |
var result = _writeFrom(_id, |
bufferAndStart.buffer, |
bufferAndStart.start, |