jaulib v1.3.0
Jau Support Library (C++, Java, ..)
|
Safe canonical base64url
alphabet, without ASCII code-point sorting order.
More...
#include <base_codec.hpp>
Public Member Functions | |
base64url_alphabet () noexcept | |
Public Member Functions inherited from jau::codec::base::alphabet | |
alphabet (std::string _name, int _base, std::string_view _symbols, char _padding64, code_point_func _cpf) noexcept | |
constexpr int | base () const noexcept |
The fixed base used for this alphabet. More... | |
constexpr int | code_point (const char c) const noexcept |
Returns the code-point of the given character or -1 if not element of this alphabet. More... | |
constexpr const std::string & | name () const noexcept |
Human readable name for this alphabet instance. More... | |
constexpr char | operator[] (size_t cp) const noexcept |
Retrieve the character at given code-point of this alphabet. More... | |
constexpr char | padding64 () const noexcept |
Padding symbol for base <= 64 and block encoding only. More... | |
constexpr const std::string_view & | symbols () const noexcept |
The string of symbols of this alphabet. More... | |
std::string | to_string () const noexcept |
Additional Inherited Members | |
Public Types inherited from jau::codec::base::alphabet | |
typedef int(* | code_point_func) (const char c) noexcept |
Safe canonical base64url
alphabet, without ASCII code-point sorting order.
Representing the canonical base64url
RFC 4648 URL and Filename safe
Base 64 Alphabet including its code-point order A
< a
< 0
< _
.
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_
=
base64url
alphabet, identical order<>:"/\|?*</tt>
- Excludes quoting chars: "'$ and space
Not supporting ASCII code-point sorting.
Order: A
< a
< 0
< _
Definition at line 170 of file base_codec.hpp.
|
inlinenoexcept |
Definition at line 191 of file base_codec.hpp.