.. index:: pair: namespace; Base64 .. _doxid-namespace_base64: namespace Base64 ================ .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block namespace Base64 { // global functions uint8_t :target:`uc_decode`(uint8_t uc); uint8_t :target:`uc_encode`(uint8_t uc); std::vector :ref:`encode`(const void* input, size_t length); std::vector :ref:`encode`(const std::vector& bin); std::vector :ref:`decode`(const void* input, size_t length); std::vector :ref:`decode`(const std::vector& input); } // namespace Base64 .. _details-namespace_base64: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Global Functions ---------------- .. index:: pair: function; encode .. _doxid-namespace_base64_1a321717cb4ea6f85b62da5e80c4bba528: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::vector encode(const void* input, size_t length) Encodes supplied bytes into base64 encoded octets. .. index:: pair: function; encode .. _doxid-namespace_base64_1aebe1ea0855fe7b750db0569da4045236: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::vector encode(const std::vector& bin) Encodes supplied bytes into base64 encoded octets. .. index:: pair: function; decode .. _doxid-namespace_base64_1a02c0ac9d4538b847dd84371910807483: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::vector decode(const void* input, size_t length) Decodes supplied base64 encoded octets into raw bytes. .. index:: pair: function; decode .. _doxid-namespace_base64_1a7c2be7ea4870b4a5d8db38058535fcf1: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::vector decode(const std::vector& input) Decodes supplied base64 encoded octets into raw bytes.