Removed old versions of base-16/58/64 conversion headers from fc/io, they have moved to fc/crypto
This commit is contained in:
parent
6b9abdf272
commit
d2e2311d72
3 changed files with 0 additions and 31 deletions
|
|
@ -1,13 +0,0 @@
|
|||
#pragma once
|
||||
#include <fc/string.hpp>
|
||||
#include <fc/utility.hpp>
|
||||
|
||||
namespace fc {
|
||||
uint8_t from_hex( char c );
|
||||
fc::string to_hex( const char* d, uint32_t s );
|
||||
|
||||
/**
|
||||
* @return the number of bytes decoded
|
||||
*/
|
||||
size_t from_hex( const fc::string& hex_str, char* out_data, size_t out_data_len );
|
||||
}
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
#pragma once
|
||||
#include <fc/string.hpp>
|
||||
|
||||
namespace fc {
|
||||
fc::string to_base58( const char* d, size_t s );
|
||||
fc::vector<char> from_base58( const fc::string& base58_str );
|
||||
size_t from_base58( const fc::string& base58_str, char* out_data, size_t out_data_len );
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
#ifndef _FC_BASE64_HPP
|
||||
#define _FC_BASE64_HPP
|
||||
#include <string>
|
||||
|
||||
namespace fc {
|
||||
std::string base64_encode(unsigned char const* bytes_to_encode, unsigned int in_len);
|
||||
std::string base64_encode( const std::string& enc );
|
||||
std::string base64_decode( const std::string& encoded_string);
|
||||
} // namespace fc
|
||||
#endif // _FC_BASE64_HPP
|
||||
Loading…
Reference in a new issue