Subject: [Boost-bugs] [Boost C++ Libraries] #4890: URL compatible base64 encoding/decoding (RFC 3548)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-24 09:00:38
#4890: URL compatible base64 encoding/decoding (RFC 3548)
----------------------------------------------+-----------------------------
Reporter: anonymous | Owner: ramey
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: serialization
Version: Boost 1.43.0 | Severity: Optimization
Keywords: archive iterator base64 encoding |
----------------------------------------------+-----------------------------
We use the boost archive library for serialization of binary data which
will be part of an URL. We encode the binary stream using the iterators
transform_width and base64_from_binary. Since the base64_from_binary
iterator uses symbols which must not be used in URLs weâve derived a
base64URL_from_binary iterator (and its counterpart), which follows RFC
3548 chapter 4.
The code is a copy of the original base64_from_binary.hpp and
binary_from_base64.hpp which is modified to use the symbols '-' and '_'
instead of '+' and '/' for the values 62 and 63.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4890> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC