Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Unified Diff: lib/src/io.dart

Issue 1612003002: Add browser-compatible version. (Closed) Base URL: https://github.com/dart-lang/resource.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/src/io.dart
diff --git a/lib/src/io.dart b/lib/src/io.dart
index ff8761b7bbb788e1c166e8e8ab1b17ad91c8bbb7..cc17b5fd7afb3856d311aa48618c5f5b70a12bcb 100644
--- a/lib/src/io.dart
+++ b/lib/src/io.dart
@@ -1,14 +1,13 @@
-// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// dart:io based strategy for loading resources.
-
import "dart:async" show Future, Stream;
import "dart:convert" show Encoding, LATIN1, UTF8;
import "dart:io" show
File, HttpClient, HttpClientResponse, HttpClientRequest, HttpHeaders;
import "dart:typed_data" show Uint8List;
+
import "package:typed_data/typed_buffers.dart" show Uint8Buffer;
/// Read the bytes of a URI as a stream of bytes.

Powered by Google App Engine
This is Rietveld 408576698