Expand description
Helper functions for converting between byte, word and hex string representations.
Enums§
- The error type for decoding a hex string into
Vec<u8>or[u8; N].
Functions§
- Convert a
Wordto itsboolrepresentation. - Convert a
Wordto its bytes. - Convert a slice of
Words to a hex string. - 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. - Convert a slice of bytes to a
Word. - Convert a hex string slice to a
Vec<Word>.