From d2e2311d72417f7de4f12533a53c89378756f10a Mon Sep 17 00:00:00 2001 From: Eric Frias Date: Tue, 20 May 2014 16:40:17 -0400 Subject: [PATCH] Removed old versions of base-16/58/64 conversion headers from fc/io, they have moved to fc/crypto --- include/fc/io/base16.hpp | 13 ------------- include/fc/io/base58.hpp | 8 -------- include/fc/io/base64.hpp | 10 ---------- 3 files changed, 31 deletions(-) delete mode 100644 include/fc/io/base16.hpp delete mode 100644 include/fc/io/base58.hpp delete mode 100644 include/fc/io/base64.hpp diff --git a/include/fc/io/base16.hpp b/include/fc/io/base16.hpp deleted file mode 100644 index f3ca29e..0000000 --- a/include/fc/io/base16.hpp +++ /dev/null @@ -1,13 +0,0 @@ -#pragma once -#include -#include - -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 ); -} diff --git a/include/fc/io/base58.hpp b/include/fc/io/base58.hpp deleted file mode 100644 index 71beb15..0000000 --- a/include/fc/io/base58.hpp +++ /dev/null @@ -1,8 +0,0 @@ -#pragma once -#include - -namespace fc { - fc::string to_base58( const char* d, size_t s ); - fc::vector from_base58( const fc::string& base58_str ); - size_t from_base58( const fc::string& base58_str, char* out_data, size_t out_data_len ); -} diff --git a/include/fc/io/base64.hpp b/include/fc/io/base64.hpp deleted file mode 100644 index 3a69a2e..0000000 --- a/include/fc/io/base64.hpp +++ /dev/null @@ -1,10 +0,0 @@ -#ifndef _FC_BASE64_HPP -#define _FC_BASE64_HPP -#include - -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