About 1,940,000 results
Open links in new tab
  1. How can you encode/decode a string to Base64 in JavaScript?

    You can use btoa() and atob() to convert to and from base64 encoding. There appears to be some confusion in the comments regarding what these functions accept/return, so… btoa() …

  2. Why does a base64 encoded string have an = sign at the end

    I know what base64 encoding is and how to calculate base64 encoding in C#, however I have seen several times that when I convert a string into base64, there is an = at the end. A few …

  3. How do I encode and decode a base64 string? - Stack Overflow

    Jul 31, 2012 · We encode the string into the bytes using UTF8 representation, which can represent all the possible string characters. We then serialize that data and on the other end …

  4. How can I do Base64 encoding in Node.js? - Stack Overflow

    It can encode only BMP (Basic Multilingual Plane, U+0000 - U+FFFF). 'base64' - Base64 string encoding. 'binary' - A way of encoding raw binary data into strings by using only the first 8 bits …

  5. base64 - What is base 64 encoding used for? - Stack Overflow

    Oct 14, 2008 · Well, base64 encode strings when storing into the database and base64 decode when retrieving. Since base64 encoding and decoding is very fast, the above worked perfectly.

  6. How can I convert an ArrayBuffer to a base64-encoded string?

    I need an efficient (read native) way to convert an ArrayBuffer to a base64 string which needs to be used on a multipart post.

  7. How to encode text to base64 in python - Stack Overflow

    The base64.b64encode function encodes bytes object into Base64 format. It takes a bytes-like object as input and returns a Base64 encoded bytes object. The b.decode function decodes …

  8. string - Base64 length calculation? - Stack Overflow

    43 For reference, the Base64 encoder's length formula is as follows: As you said, a Base64 encoder given n bytes of data will produce a string of 4n/3 Base64 characters. Put another …

  9. Converting and rendering web fonts to base64 - Stack Overflow

    Other font families and variants look very noticeably different as well (size and shape distortions, etc.). So the question is: How do you properly encode TTF files from Google Web Fonts (or …

  10. Base64 encoding and decoding in client-side Javascript

    May 12, 2010 · Are there any methods in JavaScript that could be used to encode and decode a string using base64 encoding?