Index: runtime/bin/socket_patch.dart |
diff --git a/runtime/bin/socket_patch.dart b/runtime/bin/socket_patch.dart |
index 2a805bb7365508bd2c12bd25f874d5795f406865..2e7acd9b8af6117d0efe5d3867daddfaa2ae081c 100644 |
--- a/runtime/bin/socket_patch.dart |
+++ b/runtime/bin/socket_patch.dart |
@@ -815,7 +815,7 @@ class _Socket extends Stream<List<int>> implements Socket { |
void writeAll(Iterable objects, [sep = ""]) => _sink.writeAll(objects, sep); |
- void writeBytes(List<int> bytes) => _sink.writeBytes(bytes); |
+ void add(List<int> bytes) => _sink.add(bytes); |
Future<Socket> consume(Stream<List<int>> stream) { |
return _sink.consume(stream); |