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

Unified Diff: lib/src/base64/encoder.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/decoder_sink.dart ('k') | lib/src/base64/encoder_sink.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/base64/encoder.dart
diff --git a/lib/src/base64/encoder.dart b/lib/src/base64/encoder.dart
index 7d688fc4bdfc2cb2c45eabaf1ec446ec0ba93a82..bdbf6d804f1fbf57ec68f83779956c71633c4909 100644
--- a/lib/src/base64/encoder.dart
+++ b/lib/src/base64/encoder.dart
@@ -25,9 +25,10 @@ const _encodeTable =
/// The line length for Base64 strings with line separators.
const _lineLength = 76;
-/// An encoder that converts sequences of bytes to strings using [Base64][rfc].
+/// This is deprecated.
///
-/// [rfc]: https://tools.ietf.org/html/rfc4648
+/// Use the `Base64Encoder` class in `dart:convert` instead.
+@Deprecated("Will be removed in crypto 1.0.0.")
class Base64Encoder extends Converter<List<int>, String> {
/// Whether this encoder generates URL-safe strings.
final bool _urlSafe;
« no previous file with comments | « lib/src/base64/decoder_sink.dart ('k') | lib/src/base64/encoder_sink.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698