|
| enum | |
| | The size of the container. More...
|
| |
| enum | ConstructFromPointerType |
| | A dummy flag to avoid accidental construction from pointer. More...
|
| |
| enum | ConstructFromStringType |
| | Method to convert from a string. More...
|
| |
| enum | ConstructFromHashType |
| | Method to convert from a string. More...
|
| |
| using | Arith = boost::multiprecision::number< boost::multiprecision::cpp_int_backend< N *8, N *8, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void > > |
| | The corresponding arithmetic type.
|
| |
| | FixedHash () |
| | Construct an empty hash.
|
| |
| | FixedHash (FixedHash< M > const &_h, ConstructFromHashType _t=AlignLeft) |
| | Construct from another hash, filling with zeroes or cropping as necessary.
|
| |
| | FixedHash (Arith const &_arith) |
| | Convert from the corresponding arithmetic type.
|
| |
| | FixedHash (unsigned _u) |
| | Convert from unsigned.
|
| |
| | FixedHash (bytes const &_b, ConstructFromHashType _t=FailIfDifferent) |
| | Explicitly construct, copying from a byte array.
|
| |
| | FixedHash (bytesConstRef _b, ConstructFromHashType _t=FailIfDifferent) |
| | Explicitly construct, copying from a byte array.
|
| |
| | FixedHash (::byte const *_bs, ConstructFromPointerType) |
| | Explicitly construct, copying from a bytes in memory with given pointer.
|
| |
| | FixedHash (std::string const &_s, ConstructFromStringType _t=FromHex, ConstructFromHashType _ht=FailIfDifferent) |
| | Explicitly construct, copying from a string.
|
| |
| | operator Arith () const |
| | Convert to arithmetic type.
|
| |
| | operator bool () const |
| |
| bool | operator== (FixedHash const &_c) const |
| |
| bool | operator== (FixedHash< 32 > const &_other) const |
| | Fast equality operator for h256.
|
| |
| bool | operator!= (FixedHash const &_c) const |
| |
| bool | operator< (FixedHash const &_c) const |
| |
| bool | operator>= (FixedHash const &_c) const |
| |
| bool | operator<= (FixedHash const &_c) const |
| |
| bool | operator> (FixedHash const &_c) const |
| |
| FixedHash & | operator^= (FixedHash const &_c) |
| |
| FixedHash | operator^ (FixedHash const &_c) const |
| |
| FixedHash & | operator|= (FixedHash const &_c) |
| |
| FixedHash | operator| (FixedHash const &_c) const |
| |
| FixedHash & | operator&= (FixedHash const &_c) |
| |
| FixedHash | operator& (FixedHash const &_c) const |
| |
| FixedHash | operator~ () const |
| |
| FixedHash & | operator++ () |
| |
| bool | contains (FixedHash const &_c) const |
| |
| ::byte & | operator[] (unsigned _i) |
| |
| ::byte | operator[] (unsigned _i) const |
| |
| std::string | abridged () const |
| |
| std::string | abridgedMiddle () const |
| |
| std::string | hex () const |
| |
| std::string | toString () const |
| |
| bool | isZero () const |
| |
| bytesRef | ref () |
| |
| bytesConstRef | ref () const |
| |
| ::byte * | data () |
| |
| ::byte const * | data () const |
| |
| auto | begin () const -> typename std::array<::byte, N >::const_iterator |
| |
| auto | end () const -> typename std::array<::byte, N >::const_iterator |
| |
| bytes | asBytes () const |
| |
| std::array<::byte, N > & | asArray () |
| |
| std::array<::byte, N > const & | asArray () const |
| |
| void | randomize (Engine &_eng) |
| | Populate with random data.
|
| |
| FixedHash & | shiftBloom (FixedHash< M > const &_h) |
| |
| bool | containsBloom (FixedHash< M > const &_h) |
| |
| FixedHash< M > | bloomPart () const |
| |
| unsigned | firstBitSet () const |
| |
| void | clear () |
| |
| static FixedHash | random () |
| |