Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
blob.cpp
Go to the documentation of this file.
1
6
#include "
common/blob.hpp
"
7
8
OUTCOME_CPP_DEFINE_CATEGORY
(
kagome::common
,
BlobError
, e) {
9
using
kagome::common::BlobError
;
10
11
switch
(e) {
12
case
BlobError::INCORRECT_LENGTH:
13
return
"Input string has incorrect length, not matching the blob size"
;
14
}
15
16
return
"Unknown error"
;
17
}
18
19
namespace
kagome::common
{
20
21
// explicit instantiations for the most frequently used blobs
22
template
class
Blob<8ul>
;
23
template
class
Blob<16ul>
;
24
template
class
Blob<32ul>
;
25
template
class
Blob<64ul>
;
26
27
}
// namespace kagome::common
kagome::common::Blob
Definition:
blob.hpp:115
kagome::common::BlobError
BlobError
Definition:
blob.hpp:102
blob.hpp
kagome::common
Definition:
blob.cpp:19
OUTCOME_CPP_DEFINE_CATEGORY
OUTCOME_CPP_DEFINE_CATEGORY(kagome::common, BlobError, e)
Definition:
blob.cpp:8
core
common
blob.cpp
Generated by
1.8.11