ipfs-chromium
Loading...
Searching...
No Matches
b16_upper.h
1#ifndef IPFS_B16_UPPER_H_
2#define IPFS_B16_UPPER_H_
3
4#include <multibase/basic_algorithm.h>
5
6namespace multibase {
7
10template <>
11struct traits<::multibase::encoding::base_16_upper> {
12 constexpr static const std::array<char, 16> charset = {
13 '0', '1', '2', '3', '4', '5', '6', '7',
14 '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
15 constexpr static const char name[] = "BASE_16";
17 constexpr static const char padding = 0;
18};
19} // namespace multibase
20
21namespace ipfs::mb {
22using base_16_upper =
24} // namespace ipfs::mb
25
26#endif // IPFS_B16_UPPER_H_
Definition algorithm.h:13
Definition basic_algorithm.h:31
Definition basic_algorithm.h:21