11 explicit sha1(
const string& hex_str );
17 const char*
data()
const;
49 ds.write( ep.
data(),
sizeof(ep) );
55 ds.read( ep.
data(),
sizeof(ep) );
82 return *((
size_t*)&
s);
Used to forward declare value types.
void write(const char *d, uint32_t dlen)
friend T & operator>>(T &ds, sha1 &ep)
friend sha1 operator^(const sha1 &h1, const sha1 &h2)
friend T & operator<<(T &ds, const sha1 &ep)
friend bool operator>(const sha1 &h1, const sha1 &h2)
friend bool operator<(const sha1 &h1, const sha1 &h2)
friend bool operator==(const sha1 &h1, const sha1 &h2)
static sha1 hash(const T &t)
friend bool operator>=(const sha1 &h1, const sha1 &h2)
static sha1 hash(const char *d, uint32_t dlen)
friend bool operator!=(const sha1 &h1, const sha1 &h2)
stores null, int64, uint64, double, bool, string, std::vector<variant>, and variant_object's.
void from_variant(const fc::variant &v, sysio::chain::chain_id_type &cid)
void to_variant(const sysio::chain::shared_public_key &var, fc::variant &vo)
#define T(meth, val, expected)
size_t operator()(const fc::sha1 &s) const