Module essential_types::convert
source · Expand description
Helper functions for converting between byte and word representations.
Functions§
- Convert a
Wordto itsboolrepresentation. - Convert a
Wordto its bytes. - A common conversion for 32-byte hashes and other addresses.
- A common conversion for 64-byte signatures.
- A common conversion for 32-byte hashes and other addresses.
- A common conversion for 64-byte signatures.
- Convert a fixed array of bytes to a
Word.