ipfs-chromium
Loading...
Searching...
No Matches
src
ipfs_client
bases
b16_upper.h
1
#ifndef IPFS_B16_UPPER_H_
2
#define IPFS_B16_UPPER_H_
3
4
#include <multibase/basic_algorithm.h>
5
6
namespace
multibase {
7
10
template
<>
11
struct
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"
;
16
using
execution_style
=
multibase::algorithm::block_tag
;
17
constexpr
static
const
char
padding = 0;
18
};
19
}
// namespace multibase
20
21
namespace
ipfs::mb {
22
using
base_16_upper =
23
multibase::basic_algorithm<multibase::encoding::base_16_upper>
;
24
}
// namespace ipfs::mb
25
26
#endif
// IPFS_B16_UPPER_H_
multibase::algorithm::block_tag
Definition
algorithm.h:13
multibase::basic_algorithm
Definition
basic_algorithm.h:31
multibase::traits
Definition
basic_algorithm.h:21
Generated by
1.9.8