Index: sdk/lib/io/common.dart |
diff --git a/sdk/lib/io/common.dart b/sdk/lib/io/common.dart |
index f4d6907fbce62bd374d1f8138577db8e94318ada..081d5322c7d9631e9d2b806b2505606301886be9 100644 |
--- a/sdk/lib/io/common.dart |
+++ b/sdk/lib/io/common.dart |
@@ -72,6 +72,8 @@ _BufferAndOffset _ensureFastAndSerializableBuffer( |
List buffer, int offset, int bytes) { |
if (buffer is Uint8List || |
buffer is Int8List || |
+ buffer is Uint16List || |
+ buffer is Int16List || |
_BufferUtils._isBuiltinList(buffer)) { |
return new _BufferAndOffset(buffer, offset); |
} |