|
rapidyaml
0.16.0
parseandemitYAML,anddoitfast
|
Utilities for formatting data as base64. More...
Go to the source code of this file.
Namespaces | |
| c4 | |
| c4::fmt | |
Typedefs | |
| using | c4::fmt::const_base64_wrapper = detail::base64_wrapper_< cbyte > |
| a tag type to mark a payload to be encoded as base64 More... | |
| using | c4::fmt::base64_wrapper = detail::base64_wrapper_< byte > |
| a tag type to mark a payload to be decoded as base64 More... | |
| template<class Container > | |
| using | c4::fmt::const_base64_container_wrapper = detail::base64_container_wrapper_< const Container, cbyte > |
| a tag type to mark a payload as base64-encoded More... | |
| template<class Container > | |
| using | c4::fmt::base64_container_wrapper = detail::base64_container_wrapper_< Container, byte > |
| a tag type to mark a payload to be encoded as base64 More... | |
Functions | |
| const_base64_wrapper | c4::fmt::cbase64 (csubstr s, size_t *reqsize=nullptr) |
| a tag function to mark a csubstr payload to be encoded in base64 format More... | |
| const_base64_wrapper | c4::fmt::base64 (csubstr s, size_t *reqsize=nullptr) |
| a tag function to mark a csubstr payload to be encoded in base64 format More... | |
| base64_wrapper | c4::fmt::base64 (substr s, size_t *reqsize=nullptr) |
| a tag function to mark a variable to be decoded from base64 More... | |
| template<class T > | |
| const_base64_wrapper | c4::fmt::cbase64 (T const *arg, size_t sz, size_t *reqsize=nullptr) |
| a tag function to mark a payload to be encoded in base64 format More... | |
| template<class T > | |
| auto | c4::fmt::base64 (T *arg, size_t sz, size_t *reqsize=nullptr) -> typename std::conditional< std::is_const< typename std::remove_reference< typename std::remove_pointer< T >::type >::type >::value, const_base64_wrapper, base64_wrapper >::type |
| a tag function to mark a payload to be encoded in base64 format More... | |
| template<class T > | |
| auto | c4::fmt::cbase64 (T const &arg, size_t *reqsize=nullptr) -> typename std::enable_if< !detail::has_resize< T >::value, const_base64_wrapper >::type |
| a tag function to mark a payload to be encoded in base64 format More... | |
| template<class T > | |
| auto | c4::fmt::base64 (T &arg, size_t *reqsize=nullptr) -> typename std::enable_if< !detail::has_resize< T >::value, typename std::conditional< std::is_const< typename std::remove_reference< typename std::remove_pointer< T >::type >::type >::value, const_base64_wrapper, base64_wrapper >::type >::type |
| a tag function to mark a payload to be encoded or decoded in base64 format More... | |
| bool | c4::from_chars (csubstr buf, fmt::base64_wrapper const &b) |
| (1) read a variable in base64 format More... | |
| bool | c4::from_chars (csubstr buf, fmt::base64_wrapper *b) |
| (2) read a variable in base64 format More... | |
| template<typename CharOrConstChar > | |
| size_t | c4::to_chars (substr buf, fmt::detail::base64_wrapper_< CharOrConstChar > const &b) |
| write a variable or buffer in base64 format More... | |
| template<class Container , typename CharOrConstChar > | |
| size_t | c4::to_chars (substr buf, fmt::detail::base64_container_wrapper_< Container, CharOrConstChar > const &b) |
| write a container in base64 format More... | |
| template<class T > | |
| bool | c4::from_chars (csubstr buf, fmt::base64_container_wrapper< T > const &b) |
| read a container in base64 format, resizing it as needed to accomodate the result More... | |
| template<class T > | |
| bool | c4::from_chars (csubstr buf, fmt::base64_container_wrapper< T > const *b) |
| read a container in base64 format, resizing it as needed to accomodate the result More... | |
Utilities for formatting data as base64.
Definition in file format_base64.hpp.