File tree Expand file tree Collapse file tree 3 files changed +0
-45
lines changed Expand file tree Collapse file tree 3 files changed +0
-45
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import 'src/client.dart';
11
11
import 'src/response.dart' ;
12
12
13
13
export 'src/base_client.dart' ;
14
- export 'src/byte_stream.dart' ;
15
14
export 'src/client.dart' ;
16
15
export 'src/exception.dart' ;
17
16
export 'src/io_client.dart' ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import 'dart:typed_data';
8
8
9
9
import 'package:collection/collection.dart' ;
10
10
11
- import 'byte_stream.dart' ;
12
11
import 'http_unmodifiable_map.dart' ;
13
12
14
13
/// Returns a [Map] with the values from [original] and the values from
@@ -93,13 +92,6 @@ Uint8List toUint8List(List<int> input) {
93
92
return new Uint8List .fromList (input);
94
93
}
95
94
96
- /// If [stream] is already a [ByteStream] , returns it. Otherwise, wraps it in a
97
- /// [ByteStream] .
98
- ByteStream toByteStream (Stream <List <int >> stream) {
99
- if (stream is ByteStream ) return stream;
100
- return new ByteStream (stream);
101
- }
102
-
103
95
/// Calls [onDone] once [stream] (a single-subscription [Stream] ) is finished.
104
96
/// The return value, also a single-subscription [Stream] should be used in
105
97
/// place of [stream] after calling this method.
You can’t perform that action at this time.
0 commit comments