Skip to content

Base64 encoding/decoding #362

Description

@theoutlander

I don't see any stubs for base64 encoding/decoding.

Can I add stubs for Base64 to Binary (atob) and Binary to Base64 (btoa) in the Window class as Base64ToBinary and BinaryToBase64?

Activity

  1. nikhilk commented on Apr 20, 2013

    @nikhilk
    Owner

    Wow, never knew about these APIs... they're odd to show up on Window though. Ideally this would be javascript functionality and not DOM functionality. In nodejs, this functionality comes by way of the Buffer class.

    So for now I guess we can't put this in mscorlib where it really should have belonged given the differences in the two environments. So yes, go ahead and add to Window.

  2. added a commit that references this issue on Apr 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions