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

Side by Side Diff: lib/src/base64.dart

Issue 1586453002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/crypto.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 unified diff | Download patch
« no previous file with comments | « lib/crypto.dart ('k') | lib/src/base64/decoder.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library crypto.base64;
6
7 import 'dart:convert'; 5 import 'dart:convert';
8 6
9 import 'base64/decoder.dart'; 7 import 'base64/decoder.dart';
10 import 'base64/encoder.dart'; 8 import 'base64/encoder.dart';
11 9
12 /// An instance of the default implementation of [Base64Codec]. 10 /// An instance of the default implementation of [Base64Codec].
13 /// 11 ///
14 /// This provides convenient access to most common Base64 use-cases. 12 /// This provides convenient access to most common Base64 use-cases.
15 const Base64Codec BASE64 = const Base64Codec(); 13 const Base64Codec BASE64 = const Base64Codec();
16 14
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 encodePaddingCharacter: encodePaddingCharacter).convert(bytes); 73 encodePaddingCharacter: encodePaddingCharacter).convert(bytes);
76 } 74 }
77 75
78 Base64Encoder get encoder => new Base64Encoder( 76 Base64Encoder get encoder => new Base64Encoder(
79 urlSafe: _urlSafe, 77 urlSafe: _urlSafe,
80 addLineSeparator: _addLineSeparator, 78 addLineSeparator: _addLineSeparator,
81 encodePaddingCharacter: _encodePaddingCharacter); 79 encodePaddingCharacter: _encodePaddingCharacter);
82 80
83 Base64Decoder get decoder => const Base64Decoder(); 81 Base64Decoder get decoder => const Base64Decoder();
84 } 82 }
OLDNEW
« no previous file with comments | « lib/crypto.dart ('k') | lib/src/base64/decoder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698