|
|
@ -200,8 +200,7 @@ class WebDavClient { |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
/// download [remotePath] and store the response file contents to String |
|
|
|
/// download [remotePath] and store the response file contents to String |
|
|
|
Future<Uint8List> download(final String remotePath) async => |
|
|
|
Future<Uint8List> download(final String remotePath) async => (await downloadStream(remotePath)).bodyBytes; |
|
|
|
Uint8List.fromList((await (await downloadStream(remotePath)).join()).codeUnits); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// download [remotePath] and store the response file contents to ByteStream |
|
|
|
/// download [remotePath] and store the response file contents to ByteStream |
|
|
|
Future<HttpClientResponse> downloadStream(final String remotePath) async => _send( |
|
|
|
Future<HttpClientResponse> downloadStream(final String remotePath) async => _send( |
|
|
|