Skip to content

Commit

Permalink
add a comment about future implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldxs committed Sep 9, 2012
1 parent a965928 commit ffae660
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/PP/MIME/Base64.pm6
Expand Up @@ -5,6 +5,11 @@ module PP::MIME::Base64 {
# think about making this an our constant too some day
my %reverse_mapping = (^64).map: { ; @mapping[ $_ ] => $_ };

# rfc 4648 gives http://josefsson.org/base-encoding/ as almost
# but not quite a reference implementation. I don't follow
# that implementation here but note it for anyone considering
# a parrot or external library implementation

our Str sub encode_base64(Buf $b, Str $eol = "\n") is export {
my Str $rc = '';
my Str $padding_suffix = '';
Expand Down

0 comments on commit ffae660

Please sign in to comment.