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

Unified Diff: lib/src/base64/encoder_sink.dart

Issue 1826543003: Update deprecations. (Closed) Base URL: git@github.com:dart-lang/crypto.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « lib/src/base64/encoder.dart ('k') | lib/src/crypto_utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/base64/encoder_sink.dart
diff --git a/lib/src/base64/encoder_sink.dart b/lib/src/base64/encoder_sink.dart
index 3ba393b3d756ffef43e5b30206441e16679bc69a..293735bd283f8d4eb7db9c25935b0146de1f8e0e 100644
--- a/lib/src/base64/encoder_sink.dart
+++ b/lib/src/base64/encoder_sink.dart
@@ -6,7 +6,10 @@ import 'dart:convert';
import 'encoder.dart';
-/// A [ChunkedConversionSink] for encoding chunks of data to Base64.
+/// This is deprecated.
+///
+/// Use the `Base64Encoder` class in `dart:convert` instead.
+@Deprecated("Will be removed in crypto 1.0.0.")
class Base64EncoderSink extends ChunkedConversionSink<List<int>> {
/// The encoder used to encode each chunk.
final Base64Encoder _encoder;
« no previous file with comments | « lib/src/base64/encoder.dart ('k') | lib/src/crypto_utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698