AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "BaseEncoding.h"
Static Public Member Functions | |
static constexpr std::size_t | EncodedSize (std::size_t size) |
static constexpr std::size_t | DecodedSize (std::size_t size) |
static std::string | Encode (std::vector< uint8 > const &data) |
static Optional< std::vector< uint8 > > | Decode (std::string const &data) |
Static Public Attributes | |
static constexpr std::size_t | BITS_PER_CHAR = Encoding::BITS_PER_CHAR |
static constexpr std::size_t | PAD_TO = std::lcm(8u, BITS_PER_CHAR) |
static constexpr uint8 | DECODE_ERROR = Encoding::DECODE_ERROR |
static constexpr char | PADDING = Encoding::PADDING |
|
inlinestatic |
References Acore::Impl::GenericBaseEncoding< Encoding >::BITS_PER_CHAR, Acore::Impl::GenericBaseEncoding< Encoding >::DECODE_ERROR, Acore::Impl::GenericBaseEncoding< Encoding >::DecodedSize(), and Acore::Impl::GenericBaseEncoding< Encoding >::PADDING.
Referenced by Acore::Encoding::Base32::Decode(), and Acore::Encoding::Base64::Decode().
|
inlinestaticconstexpr |
References Acore::Impl::GenericBaseEncoding< Encoding >::BITS_PER_CHAR, and Acore::Impl::GenericBaseEncoding< Encoding >::PAD_TO.
Referenced by Acore::Impl::GenericBaseEncoding< Encoding >::Decode().
|
inlinestatic |
References Acore::Impl::GenericBaseEncoding< Encoding >::BITS_PER_CHAR, Acore::Impl::GenericBaseEncoding< Encoding >::EncodedSize(), and Acore::Impl::GenericBaseEncoding< Encoding >::PADDING.
Referenced by Acore::Encoding::Base32::Encode(), and Acore::Encoding::Base64::Encode().
|
inlinestaticconstexpr |
References Acore::Impl::GenericBaseEncoding< Encoding >::BITS_PER_CHAR, and Acore::Impl::GenericBaseEncoding< Encoding >::PAD_TO.
Referenced by Acore::Impl::GenericBaseEncoding< Encoding >::Encode().
|
staticconstexpr |
|
staticconstexpr |
Referenced by Acore::Impl::GenericBaseEncoding< Encoding >::Decode().
|
staticconstexpr |
|
staticconstexpr |